Setup 'internet sharing pc' - provide custom systemd target?

Hi,
I just received a 2-year old netbook, which seemed perfect for me to install as a network 'bridge': providing internet to a pc by:
* receiving internet through wlan
* routing it with iptables to the ethernet adapter
To expand the functionality, I am adding dhcpd, minidlna, ntpd, ... - services.
I have already setup netctl:
* netctl-auto@wlan is connecting automagically upon boot and providing network.target
* netctl-ifplugd@eth is connecting automagically whenever I plug in the ethernet-cable.
But: since connecting to the wlan provides the network.target, services like dhcpd and minidlna are started only to fail because the ethernet adapter is not brought up.
I think the best solution is to make a custom .target-file, f.e. an 'ifplugd.target' and edit the service files of the services that I wish to start only after the ethernet-adapter is brought up. Inside the service files I should only have to change 'After = network.target' to 'After = ifplugd.target' - but how do I provide the ifplugd.target through systemd or netctl?
(or am I doing this all wrong?)
Thx!
/EDIT: to correct myself: this is not really a bridge, but rather a 'sharing of internet' as the wiki describes it (if this should be relevant at all) - subject changed
Last edited by zenlord (2013-04-16 19:53:03)

I thought I had found the answer:
1. Do not create a custom .target
2. Change the service files of minidlna, dhcpd4, nmbd (required by samba) to have:
[Unit]
Requires=[email protected]
After=[email protected]
3. Disable the above services to start at boot.
RESULT: ifplugd works, activating the netctl profile with the static IP-address, but the dependent services don't start automatically.
Any tips?
Vincent

Similar Messages

  • How to setup Internet Sharing from new MacBook Pro to iMac G4?

    Hey everyone,
    I have a new 2011 MacBook Pro running Snow Leopard (10.6.7) and an iMac G4 running Panther (10.3.9).
    The iMac doesn't have an AirPort card and the easiest way to get internet on it seems to be Internet Sharing.
    I want to setup Internet Sharing from the MBP's Airport via ethernet to the iMac's ethernet, but am having trouble configuring the IP addresses etc to get the iMac to comply.
    Your help and advice is much appreciated

    Open System Preferences > Sharing > Internet Sharing, and set it up as you want. Read > http://support.apple.com/kb/PH10740

  • Internet Sharing not providing a client an IP

    I have turned on Internet Sharing on a 10.4.7 machine connected to the internet, and the other 10.4.7 machine is happily joining the wireless network created by the sharing machine. However, the client machine is not receiving an IP address from the connection sharing machine. Is there a bug here? Documentation does not describe that I need to set up the IP manually?

    I found that the OSX firewall blocks necessary traffic if UDP blocking is turned on. I fixed the problem while leaving the firewall intact by making a rule to pass port 68 UDP traffic. After this, and with the firewall fully enabled, My client machine received an IP address within a few seconds of connecting.
    Apple Support please put this port information into the support documents describing how to enable Internet Sharing.

  • Internet Sharing not connecting on PC

    How do I setup Internet Sharing so it works on XP or Vista. It can connect to it using a mac, but when i try to connect from PC (bootcamp) it does not work. I see the network, but I cannot connect. It doesn't ask me for any password or anything, it just doesn't work. If I try with another network it works...

    Are you saying that you cannot connect to the internet on either machine? Have you enabled specifically anything referred to as internet sharing on either machine. If you have, then disable it.

  • Internet Sharing w/o wireless

    There's a preponderance of info out there on setting up Internet sharing which involves wireless. I'm looking to setup internet sharing on my MacPro (has 2 ethernet ports) wired/directly connected (read: crossover cable connection) to a WinXP box. I have Internet Sharing turned on to share from Ethernet 1 to computers using Ethernet 2.
    I've tested using the same subnet for all 3 ports, separate subnets for each MacPro port, adding routes, etc. and I'm still hitting a brick wall.
    Please don't advise me to "just buy a cheap switch" or "just use wireless."
    Thanks in advance.

    You don't need a Router to share the MacBook's Internet connection.
    If you have an Ethernet cable connecting them...
    Goto Sharing>Internet then to the right of Share Yor Connection from: Set it to Airport, below that check the To Computers Using: Ethernet box, then click Start button. Wait a few seconds for the Mac to hand an IP to the PC.

  • IMac internet sharing failing to connect to my Blu-Ray disk player.

    I have a Late 2009 iMac 27-inch. I have setup internet sharing through wifi. All of my iPods, iPads, iPhones connect just fine. But when I try to connect my Blu-Ray disk player, it gives me a timeout error. It is a Panasonic DMP-BD87P-K. I have called Panasonic, but they didn't offer to many things.

    Internet Sharing is clearly working. The only options you can configure are the type of security and the channel. If changing those doesn't help, then either the device is too far away, or it's incompatible.

  • Internet sharing unstable

    so recently my internet sharing has been acting weird
    mainly other devices picking up signal but unable to connect to internet
    if i turn sharing off then back on my devices will get internet access for maybe 5 minutes then loose internet but can still detect signal
    By devices my ipod touch and 3ds

    Hello,
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    Setup Internet Sharing again.

  • Just bought a 3TB Time Capsule for a small office. Will have 4 users with MacBooks. What would ne the best setup for time machine individual backups and internet sharing in a secure way?

    Just bought a 3TB Time Capsule for a small office. Will have 4 users with MacBooks. What would ne the best setup for time machine individual backups and internet sharing in a secure way?

    Set up each Mac for Time Machine backups in the normal way.  Time Machine will keep each backup separate on the Time Capsule, so users will only be able to see the backups of their own Mac.
    Yes....there are convoluted workarounds that might allow one user to see the backups of another.....IF...they know the administrator password of the "other" Mac.
    As far as Internet sharing, all users will have access to the Internet if they have a wired or wireless connection. If a Mac connects using wireless, it is possible to limit the time that they are allowed to connect to the network.
    For example, you might limit the ability to connect to the wireless from say each Weekday from 8 AM to 6 PM.
    With a wired Ethernet connection, you cannot limit access times to the Internet.

  • Remote App and Internet Sharing Problem

    Ok so basically heres the setup we have, we have one of the recent iMacs, a Macbook, and 3 PC's, one running XP and the other 2 Vista. All of these computers are on a network together. All our music is on one of the Vista PC's, called "SERVER". This PC is connected to the speaker system, so is what we use for music.
    Now I've been trying to use an iPod Touch we have (most recent firmware 2.2, and most recent Remote app version.) and the remote app to control the itunes on this PC. This is not an issue when the iPod is connected to the Wifi the router itself provides (its one of those wireless routers), but when I switch the Wifi the iPod is using to the Wifi provided by the iMac using internet sharing, it suddenly can't find the library anymore. Internet (safari) still works fine from the ipod when connected to this Wifi point.
    My guess is that because the iMac using internet sharing seems to act more like a router than a wireless access point (allocating its own IP adresses ect..), the iPod thinks its on a different wireless network, and thus cant see the itunes library. Obviously the iMac is connected to the router directly by ethernet, if I hadnt mentioned that.
    So, my question is, can I fix this ?
    Is there any way to make the internet sharing mac behave like a wireless access point and not like a router ?
    Help would be much appreciated.
    Thankyou.

    asuming you mean internet sharing as in you connect adhoc to 1 computer using wifi and the rest of the network is wired
    problems is the middle name of adhoc wifi though cause everybody problems imho
    and wifi routers are soo cheap most people don't bother
    even if internet sharing is used remote app should still work if not connecting adhoc at least it's working for me right now
    with a setup of many computers 1 wifi router
    1 computer sharing internet using an usb 3g modem
    remote app works with all my computers and my appletv

  • Can I use internet sharing to give internet to my Apple TV through my Macbook and use Airplay on the same computer at the same time?

    So I am using internet sharing from my Macbook to my Apple TV. The router providing internet to my Macbook has an ip address that looks like 192.168.0.x. Since the internet sharing feature assigns an ip address that looks like 192.168.2.x to my Apple TV, the Macbook is unable to see the Apple TV ("different" networks). Is there a way around this so I can share internet and still be able to use Airplay between the two?
    BTW I am using a Macbook Pro Retina 15'' (late 2013) on Mavericks 10.9.1 and Apple TV 3.
    Thanks.

    Why are you tyring to spilt your connection though the MBP?  Why don't you just connect them both to the router as they are meant to be setup?

  • Computer - computer network and internet sharing

    I apologise if this has been discussed elsewhere - please point me to any useful links.
    I have a G4 iMac and iBook (running 10.4.6) both with airport extreme cards installed. I would like to use a computer to computer connection for file / printer sharign and most importantly to share the ethernet connection to the internet running through my iMac.
    I would be extremely grateful if someone could point out how to do this and incorporate a practicable level of security (I don't want any of the hundreds of people in adjacent flats downloading lord knows what through my connection).
    Having accomplished this, I then need to be able to create a similar connection when required so that when required I can share the internet connection from the iMac with our PC laptop running Windows XP service pack 2.
    So, the simpler the better, instructions for creating a computer - computer network for internet and file sharing between two Macs and following that between the Mac with the internet connection and a Windows laptop.
    Thank you very much in advance.
    G4 iMac USB 2.0 / G4 iBook   Mac OS X (10.4.6)  

    You don't need to setup up computer to computer connection if your using internet sharing. Once you start internet sharing then your 2 computers are connected togther.
    I would be extremely grateful if someone could point out how to do this and incorporate a practicable level of security (I don't want any of the hundreds of people in adjacent flats downloading lord knows what through my connection).
    The problem you have is that if you enable internet sharing on one of your macs to share its connection over airport then the only level of security you can enable is WEP encryption.
    The problem with WEP encryption is that it offers no real security and can easily be cracked. WPA is the only security you should consider using and unfortunately OSX does not have WPA encryption functionality when using the built in internet sharing function.
    Your best solution is to get a wireless router that has a SPI firewall an WPA encryption. Depending on what your current internet connection is and how it is provided would determine the best kind of router to get.

  • How to setup Internet connection in Solaris 10

    Hi All,
    I recently installed Solaris 10 in my laptop as a guest OS which is having Host OS of Windows 7 by using Virtual Box.
    I shared all my hardwares and network connection and still I cannot use the internet connection in my guest OS (Solaris 10).
    I'm new to this could anyone please provide steps to set up internet connection in Solaris 10???
    Thanks,
    Mahesh

    user8473723 wrote:
    All
    I have installed Solaris 10 X86 in my  intel laptop. I want to setup internet connection in solaris. You need to determine whether your NIC is even supported.
    (but you kept that particular information a secret in your forum post)
    If the Ethernet chipset is supported, you then need to install the drivers.
    By the way, very few wireless networking chipsets are supported.

  • Trouble with some custom SystemD/User unit files

    Good evening all,
    I'm trying to move programs out of my .xinitrc file and my window manager's startup hooks into systemd user unit files for ease of management, and hopefully more resilient.  I have followed the setup on the wiki page for SystemD/User session (https://wiki.archlinux.org/index.php/Sy … asic_setup) and already have some services already running:
    ╭─vendion@tyre ~
    ╰─➤ systemctl --user status
    ● tyre
    State: degraded
    Jobs: 0 queued
    Failed: 4 units
    Since: Fri 2014-08-08 20:23:47 EDT; 4 days ago
    CGroup: /user.slice/user-1000.slice/[email protected]
    ├─3200 /usr/lib/systemd/systemd --user
    ├─3202 (sd-pam)
    ├─dbus.service
    │ ├─ 3623 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
    │ ├─ 3711 /usr/lib/at-spi2-core/at-spi-bus-launcher
    │ ├─ 3728 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
    │ ├─ 3996 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
    │ ├─ 4184 /usr/lib/GConf/gconfd-2
    │ └─29638 /usr/bin/dunst
    ├─udiskie.service
    │ └─3389 /usr/bin/python /usr/bin/udiskie
    ├─spideroak.service
    │ ├─3394 /opt/SpiderOak/lib/SpiderOak
    │ └─3993 /opt/SpiderOak/lib/SpiderOak --spider
    ├─skype.service
    │ └─3396 /usr/lib32/skype/skype
    ├─mpd.service
    │ ├─3386 /usr/bin/mpd --no-daemon
    │ ├─3959 /usr/bin/pulseaudio --start --log-target=syslog
    │ └─4178 /usr/lib/pulse/gconf-helper
    ├─mpdscribble.service
    │ └─3544 /usr/bin/mpdscribble
    └─google-musicmanager.service
    └─3638 /usr/bin/google-musicmanager
    Some of them are using unit files provided by the package, others I wrote the unit file for.  The services that are failing that are causing the state to be degraded are:
    ╭─vendion@tyre ~
    ╰─➤ systemctl --user --failed
    UNIT LOAD ACTIVE SUB DESCRIPTION
    ●clipit.service loaded failed failed Clipboard manager
    ●pasystray.service loaded failed failed Pulseaudio system tray icon
    ●pidgin.service loaded failed failed Pidgin IM client
    ●redshift.service loaded failed failed Redshift display colour temperature adjustment
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    4 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    I had to write the unit files for each of these.
    clipit.service unit file: http://sprunge.us/Qjfd
    When I check the status for this here is what I get:
    ● clipit.service - Clipboard manager
    Loaded: loaded (/home/vendion/.config/systemd/user/clipit.service; enabled)
    Active: failed (Result: start-limit) since Fri 2014-08-08 20:24:04 EDT; 4 days ago
    Main PID: 3619 (code=exited, status=1/FAILURE)
    Aug 08 20:24:04 tyre systemd[3200]: clipit.service: main process exited, code=exited, status=1/FAILURE
    Aug 08 20:24:04 tyre systemd[3200]: Unit clipit.service entered failed state.
    Aug 08 20:24:04 tyre systemd[3200]: clipit.service holdoff time over, scheduling restart.
    Aug 08 20:24:04 tyre systemd[3200]: Stopping Clipboard manager...
    Aug 08 20:24:04 tyre systemd[3200]: Starting Clipboard manager...
    Aug 08 20:24:04 tyre systemd[3200]: clipit.service start request repeated too quickly, refusing to start.
    Aug 08 20:24:04 tyre systemd[3200]: Failed to start Clipboard manager.
    Aug 08 20:24:04 tyre systemd[3200]: Unit clipit.service entered failed state.
    pasystray.service unit file: http://sprunge.us/BWWR
    Status output
    ● pasystray.service - Pulseaudio system tray icon
    Loaded: loaded (/home/vendion/.config/systemd/user/pasystray.service; enabled)
    Active: failed (Result: start-limit) since Fri 2014-08-08 20:24:12 EDT; 4 days ago
    Main PID: 3769 (code=killed, signal=TRAP)
    Aug 08 20:24:12 tyre systemd[3200]: pasystray.service: main process exited, code=killed, status=5/TRAP
    Aug 08 20:24:12 tyre systemd[3200]: Unit pasystray.service entered failed state.
    Aug 08 20:24:12 tyre systemd[3200]: pasystray.service holdoff time over, scheduling restart.
    Aug 08 20:24:12 tyre systemd[3200]: Stopping Pulseaudio system tray icon...
    Aug 08 20:24:12 tyre systemd[3200]: Starting Pulseaudio system tray icon...
    Aug 08 20:24:12 tyre systemd[3200]: pasystray.service start request repeated too quickly, refusing to start.
    Aug 08 20:24:12 tyre systemd[3200]: Failed to start Pulseaudio system tray icon.
    Aug 08 20:24:12 tyre systemd[3200]: Unit pasystray.service entered failed state.
    pidgen.service unit file: http://sprunge.us/KgKV
    Status output
    ● pidgin.service - Pidgin IM client
    Loaded: loaded (/home/vendion/.config/systemd/user/pidgin.service; enabled)
    Active: failed (Result: start-limit) since Fri 2014-08-08 20:24:04 EDT; 4 days ago
    Main PID: 3620 (code=exited, status=1/FAILURE)
    Redshift.service unit file: http://sprunge.us/IDCC
    Status output:
    ● redshift.service - Redshift display colour temperature adjustment
    Loaded: loaded (/home/vendion/.config/systemd/user/redshift.service; enabled)
    Active: failed (Result: start-limit) since Fri 2014-08-08 20:23:58 EDT; 4 days ago
    Docs: http://jonls.dk/redshift/
    Main PID: 3517 (code=exited, status=1/FAILURE)
    Aug 08 20:23:57 tyre systemd[3200]: redshift.service: main process exited, code=exited, status=1/FAILURE
    Aug 08 20:23:57 tyre systemd[3200]: Unit redshift.service entered failed state.
    Aug 08 20:23:58 tyre systemd[3200]: redshift.service holdoff time over, scheduling restart.
    Aug 08 20:23:58 tyre systemd[3200]: Stopping Redshift display colour temperature adjustment...
    Aug 08 20:23:58 tyre systemd[3200]: Starting Redshift display colour temperature adjustment...
    Aug 08 20:23:58 tyre systemd[3200]: redshift.service start request repeated too quickly, refusing to start.
    Aug 08 20:23:58 tyre systemd[3200]: Failed to start Redshift display colour temperature adjustment.
    Aug 08 20:23:58 tyre systemd[3200]: Unit redshift.service entered failed state.
    I know that my unit files for these services work because if I manually start them with "systemctl --user start <service>" then they work just fine, but when systemD is trying to start them when I login they fail.  I have dbus setup like the wiki says to, and "DBUS_SESSION_BUS_ADDRESS" is defined.  I also have the DISPLAY environment variable set in /etc/systemd/system/[email protected]/display.conf like the wiki suggests as well.  I know that SystemD user sessions still may not be ready for prime time but I could use a better way to manage these startup programs than the .xinitrc file.
    Thanks in advance for any help

    i suppose there is a code whitch resets the default bounds when
    the component is beeing added to the JTable.Technically, the Component returned by the getCellRendererComponent() is not added to the JTable, it's just used as a rubber stamp.Mmm, I was wrong: at least with the basic L&F, the Component is (temporarily) added to a CellRendererPane, which is a children of the JTable.
    Moreover, I witnessed that both setBounds() and doLayout() are called before the component is actually painted...
    I've never used a compound component as a renderer, but I assume the issue is common (did not have time to search nor try it myself). You may investigate whether the JPanel is appropriately laid out, by inserting some breakpoints/logs at appropriate places (setBounds, doLayout,...)Did this on an extra-short example, and it did render correctly...
    somehow the textfield's bounds where not set anymore.Note that the Javadoc for Cellrendererpane states that +"After the component is painted it's bounds are reset to -w, -h, 0, 0 so that, if it's the last renderer component painted, it will not start consuming input"+.
    That does not explain why the w and h are 0, but at least it's clear that depending on where you put your logging statement makes a big difference about the accuracy of the bounds logged

  • Sharing behind Internet Sharing NAT

    I have a product demonstration that will require the internet being shared from my cell to two devices via ethernet.  One is hard-wired to the physical ethernet port.  The other is a virtual machine configured to look like a separate device on the network (VMWare Fusion 6, not that it matters).  This is the only hardware I'm allowed to bring into the facility: phone, laptop, and the one physical ethernet device. 
    From a topology standpoint the network would look like this:
    [Internet] -- [4G -- iPhone -- tethering wifi] -- [wifi -- MacBook Pro via Internet Sharing -- ethernet] -- <two devices, A and B>
    I'm attempting to use the Internet Sharing-configured NAT on the ethernet port like a typical consumer router: 1 WAN port, 2 LAN ports.
    At this point, enabling Internet Sharing allows both devices A and B to connect to the internet.  However, devices A and B cannot ping one another.
    I've been digging into PF and 'pfctl' but I'm not seeing how to allow traffic between A and B.  It's as if the virtual bridge setup by Internet Sharing is unable to act as a switch for the "local" side of the NAT.
    Does anyone know how to enable this functionality of Internet Sharing to allow A and B to communicate on any port?  Or perhaps have a different solution?
    Thanks for any help.
    Thomas

    Happy to hear alternative ideas to this one... This is a goofy fix:
    In System Preferences, be sure you have disabled Internet Sharing before trying this. 
    1) Navigate to the System Preferences -> Network and click the + to add a new interface.  Make it ethernet and give it some name. 
    2) System Preferences -> Sharing -> Internet Sharing -> Enable whatever your internet-connected interface is to hook to "both" interfaces labeled Ethernet (despite different names, both showed as "Ethernet" for me). 
    3) In VMWare Fusion, choose to bridge your VM's network interface with this second, fake, Ethernet from #1.
    4) Boot the VM.
    What you should see is that the VM still gets assigned an IP address, but the configured NAT that provides the Internet Sharing ability now can see and route between two connected interfaces.  Otherwise it seems to think the single ethernet is exactly 1 device despite there being two MACs using it.
    Cheers!

  • TC as a brigdge to extend internet sharing from Imac

    Hello, can somebody give me a hand on a proper config for time capsule + Imac.
    My setup is: 3G Huawei modem/router - wi-fi (g) network - Imac Airport- internet sharing (airport to ethernet) - ethernet cable to TC WAN port (TC in a bridge mode) - time capsule wi-fi (n) network.
    All seems to be functioning well, and I can access second (n) network from Ipad, Iphone, Apple TV2 etc.
    The final goal of this setup is to block with MAC filter on Huawei router I-net access for Apple TV while keeping an access for Apple TV to my libpary (photo/music) on Imac. The reason to do so is very simple - I have very limited data plan/speed from internet provider and I don't need neither youtube or anything from internet to hungry Apple TV (automaticaly eating lot's of data even refreshing covers etc and there is no way to turn it off even with parential control) I've puted MAC address in Huawei filter but Apple TV still accessing I-net. Looks like it using TC router and I can't turn it off to force using Huawei router. Any thought? Thank you

    Well, if there's anyone else with this problem, I have an update:
    1. After some reboots, for reasons unknown, the G5 started to connect.
    2. However, it would only connect to an unencrypted network from the iMac. When I tried to change to an encrypted network, it wouldn't connect. Nor would it work when I switched back to an unencrypted one!
    3. I then tried the following, from another site:
    Start Internet Sharing if it's not already running.
    In Terminal, type cp /etc/bootpd.plist /tmp/bootpd.plist
    Stop Internet Sharing.
    Open "open -e /tmp/bootpd.plist" for editing using TextEdit or whatever.
    Locate this section of the file, near the end:
    <key>replythresholdseconds</key>
    <integer>4</integer>
    Change the value 4 to 0.
    In Terminal, type sudo cp /tmp/bootpd.plist /etc
    Start Internet Sharing.
    If you want to, check that your change to /etc/bootpd.plist hasn't been reverted.
    Source - Following 10.5 Steps
    http://www.macosxhints.com/article.p...ery=xbox%2B360
    4. It worked. Now the G5 will connect to an encrypted Internet Sharing network from the iMac. Not only that, my iPad, which previously would not connect to an encrypted network from the iMac, will do so as well.
    Hope no one else is as frustrated as I was!

Maybe you are looking for

  • Error while trying to synchronise audio and midi

    Hi Logic worked all day and suddenly start giving this message: error while trying to synchronise audio and midi. Nothing was changed and we also have no sound. We don't have any midi device, its just the G5 and Logic installed. Any idea how to solve

  • 10.8.4 Mac Mail Sort List Doesn't Update

    In Mountain Lion 10.8.4's Mac mail program, I see the list on the left side doesn't update the list preview with the most recent email as part of that thread -- so it is difficult to lknow who the most recent email is coming from. For instance, if I

  • How do I deal with Tokenized strings that are blank?

    I'm writing a little application that writes data to a file. It sends data to the file as a "|" delineated string. Then I use tokenizer to break up the string as follows: try {                               String searchtext = SearchTxt.getText();   

  • Getting error code U44M1I210 on updating.

    I have tried to update Illustrator through both the Creative Cloud and the program. I keep getting the above error message as it quickly tells me the update failed.

  • Crystal Report as HTML

    Hi, I am very new to crystal reports. I created a report and was able to launch the same in browser. When I see the report in the browser, it has the toolbar on the top and gets displayed more or less like PDF. Is there any way, I could display my re