[Bug 354430] Re: samba mount does not work at boot time

Joacim Järkeborn 4integration at gmail.com
Mon Apr 6 18:48:58 BST 2009


Yes, the /etc/fstab worked fine in 8.10 and I had a modified
/etc/network/interfaces that looked like:

=============================
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
	address 192.168.1.3
	netmask 255.255.255.0
	network 192.168.1.0
	broadcast 192.168.1.255
	gateway 192.168.1.20
	# dns-* options are implemented by the resolvconf package, if installed
	dns-nameservers 192.168.1.20
	dns-search highway
=============================

Then I upgraded to 9.04 BETA (with the same config as above) and it
stopped working. I didn't do any changes to the network since the
network as such is working.

Yesterday I did a fresh 9.04 BETA installation due to some sound problems (which was solved). I defined the network via NetworkManager (with the same content as above).
The problem with Samba mounts in fstab during boot still exists, but after login the Samba shares is mounted. 

/etc/network/interfaces now look like:
=============================
auto lo
iface lo inet loopback
=============================

ifconfig:
=============================
joacim at arwen:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:17:c2:d5:85  
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::216:17ff:fec2:d585/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4966 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4949 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3871315 (3.8 MB)  TX bytes:985228 (985.2 KB)
          Interrupt:20 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:240 (240.0 B)  TX bytes:240 (240.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:c0:a8:c1:43:f8  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wmaster0  Link encap:UNSPEC  HWaddr 00-C0-A8-C1-43-F8-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

joacim at arwen:~$ 
=============================

-- 
samba mount does not work at boot time
https://bugs.launchpad.net/bugs/354430
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list