I recently encountered a problem when I used samba with ubuntu 8.10:
The server service cannot be used when the computer is restarted and the user's desktop is not logged on.
It was strange at first.
Solution:
(1) modify the IP address
Open/etc/network/interfaces
Terminal input: sudo gedit/etc/network/interfaces
Add the following statement:
Auto eth0
Iface eth0 inet static
Address xxx. xxx # IP address
Netmask xxx. xxx # Subnet Mask
Gateway xxx. xxx # gateway
For example:
(2) Modify DNS
How to modify the DNS address of an Eni
Sudo gedit/etc/resolv. conf (as shown in Figure)
VcmltZz0 = "1">
Add
Search localdomain
Nameserver 172.16.3.4 DNS to be modified
Nameserver 172.16.3.3 DNS
(3) The last step is also the most important step.
Add the command to restart the network configuration in rc. local:/etc/init. d/networking restart
For example:
In this way, it will be normal after restart.
I don't know why, but this is also a solution.