Thanks guys ! I do need your help after today's exploits
OK here goes !
Installed Ubuntu 7.04 server edition.Everything went ok.
Had to browse the CD to install all the Samba debian files and managed to find the one dependency, libcupsys2, on the net.
Samba was installed with no problems, smb.conf configured and up and running.
I assigned the Ubuntu box an IP of 192.168.0.1 with the command
Code:
ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
Went into XP,
Network Connection -> TCP/IP -> Add , configured WINS , IP of 192.168.0.1 etc.
Manually assigned the IP 192.168.0.2 to the XP box.
Rebooted.
Pinged from Ubuntu ( 192.168.0.1 ) to XP ( 192.168.0.2) worked fine and visa versa. Excellent I thought, the machines are hooked up.
The fun started when I tried to map the network drive.
On Ubuntu I had edited the /etc/network/interfaces file. Here it is :
Code:
auto eth0
iface eth0 net static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1 ( also tried leaving this blank )
I restarted the network session /etc/init.d/networking restart
and got the following error message:
Code:
/etc/network/interfaces :6:
unknown address type
ifdown : couldn't find interfaces file "etc/network/interfaces
unknown address type
ifup : couldn't find interfaces file "etc/network/interfaces"
FAIL
I assume that this basically states that the network is not up ?
When I came to mapping the drive in windows I tried putting in both name (\\ubuntu\home\samba) and IP address (\\192.168.0.1\home\samba) in the address fields. I made sure that the correct samba user name and password were used but still got the error :
Code:
Drive cannot be mapped because no network was found .
I can still ping successfully between the two machines. Just from first thoughts I fear that my etc/network/interfaces file is not correctly configured. Any pointers ?
Here is my /etc/host file as well :
Code:
127.0.0.1 local host
192.168.0.1 ubuntu
Thanks !
Uncle