On Friday 14 October 2005 18:47, Bernd wrote:
On Monday 10 October 2005 20:02, david rankin wrote:
----- Original Message ----- From: "Bernd"
To: "Kevanf1" ; Sent: Monday, October 10, 2005 6:33 PM Subject: Re: [SLE] Networking - SuSE 9.3 & WinXPx2 - wireless and wired On Monday 10 October 2005 02:27, you wrote:
On 10/10/05, Bernd
wrote: Should (can) I disable the dhcp server on the router and statically assign addresses to my cards on each box, and in the same sub? Keep in mind that my end desire is to have Box #2 and Box #3 route to the internet through Box #1, and to file and print share between them all.
Bernd
Sorry but I'm puzzled as to why you should have to disable dchp on your router. I have a fairly similar set up as yourself. I have three PCs dotted around the house (one in my workshop only set up a few days ago). The all have internet access via a D-Link router modem (wired). On the upstairs PC I have Win2k, on the donwstairs one I alternate between SuSE 9.3/9.1 Ubuntu/Kubuntu and others that I just test but all on separate drives, I'm not installing uninstalling all the time. The workshop PC has Vector Linux as it is rather old and SuSE is too demanding for it. Now, my problem is similar to yours. If I pop a Win2k hard drive into the downstairs PC I can see and access all printers shared files etc on the upstairs one. I cannot do so with any of my Linux disks. I believe this is down to my samba configuration file not being set up properly yet. But why should I have to turn off dchp (on the router don't forget) for Linux when I don't have to for a Win2k drive? This set up has worked in the past on one of my 9.1 set ups but I don't have a clue how I set it up :-(((
So, I believe that what you may need to do is edit your samba config file the same as I have to...
I can't even ping the other devices, with one exception; I can ping my linux box (Box #1) from my WinXP box (Box #3). I am able to ping each boxes own network cards though. Ping'ing should have nothing to do with the Samba config.
Before I can even think about file and print sharing, and internet, between all the boxes, I need to get the network cards to see each other.
Bernd
First,
How are you pinging the boxes? By hostname? By IP address? It almost sounds like you devices are not on the same subnet. If you can ping by IP but not by hostname, then you have a name resolution problem. See /etc/hosts and /etc/resolve.conf on the linux box and LMHOSTS on the XP box. The nmbd part of Samba provides name resolution if configured as a wins server. Unless you have a local dns running, then having the samba wins server running or configuring /etc/hosts, etc.. is the only way you will get local name resolution.
More info would be helpful...
here's copy of my /etc/hosts file:
# IP-Address Full-Qualified-Hostname Short-Hostname #
127.0.0.1 localhost 192.168.15.110 suse.koepsell suse 192.168.15.111 paf.koepsell paf 192.168.15.1 router.koepsell router 192.168.15.2 wrouter.koepsell wrouter
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts
Here's copy of my /etc/resolv.conf file:
# search koepsell domain koepsell nameserver 69.28.32.16 nameserver 69.28.32.180
Here's ping results (same whether using ip or host.domain or host):
suse:/home/bernd # ping suse.koepsell PING suse.koepsell (192.168.15.110) 56(84) bytes of data. 64 bytes from suse.koepsell (192.168.15.110): icmp_seq=1 ttl=64 time=0.050 ms 64 bytes from suse.koepsell (192.168.15.110): icmp_seq=2 ttl=64 time=0.053 ms 64 bytes from suse.koepsell (192.168.15.110): icmp_seq=3 ttl=64 time=0.053 ms
--- suse.koepsell ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1999ms rtt min/avg/max/mdev = 0.050/0.052/0.053/0.001 ms suse:/home/bernd # ping paf.koepsell PING paf.koepsell (192.168.15.111) 56(84) bytes of data. 64 bytes from paf.koepsell (192.168.15.111): icmp_seq=1 ttl=128 time=1.11 ms 64 bytes from paf.koepsell (192.168.15.111): icmp_seq=2 ttl=128 time=0.294 ms 64 bytes from paf.koepsell (192.168.15.111): icmp_seq=3 ttl=128 time=0.295 ms
--- paf.koepsell ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2001ms rtt min/avg/max/mdev = 0.294/0.567/1.113/0.386 ms suse:/home/bernd # ping router.koepsell PING router.koepsell (192.168.15.1) 56(84) bytes of data. From suse.koepsell (192.168.15.110): icmp_seq=2 Destination Host Unreachable From suse.koepsell (192.168.15.110) icmp_seq=2 Destination Host Unreachable From suse.koepsell (192.168.15.110) icmp_seq=3 Destination Host Unreachable From suse.koepsell (192.168.15.110) icmp_seq=4 Destination Host Unreachable
--- router.koepsell ping statistics --- 5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4000ms , pipe 3 suse:/home/bernd # ping wrouter.koepsell PING wrouter.koepsell (192.168.15.2) 56(84) bytes of data. From suse.koepsell (192.168.15.110): icmp_seq=2 Destination Host Unreachable From suse.koepsell (192.168.15.110) icmp_seq=2 Destination Host Unreachable From suse.koepsell (192.168.15.110) icmp_seq=3 Destination Host Unreachable From suse.koepsell (192.168.15.110) icmp_seq=4 Destination Host Unreachable
--- wrouter.koepsell ping statistics --- 4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 2999ms , pipe 3
I have also tried to ping my other XP box (Box #3) by current ip only (don't know how to set up in hosts file because of address is not static (DHCP from router)).
I am also now able to see files from Box #1(linux) when on Box #2 (XP). But when I try to access Box #2 (XP) from Box #1 (linux) via Samba, I receive an error message: Unable to find any workgroups in your local network. This may be caused by an enabled firewall.
I think this may be a problem in the smb.conf file. Will look into that and see.
Why can't I ping the routers or Box #3 (XP)???
Bernd
I created a lmhosts file on Box #2 (XP) and also on Box #1 (linux). Can now see and use all shares on both boxes via Samba protocol. These 2 boxes are connected via eth cards and crossover cable. ***I need to find a way to make the connection from Box #2 (XP) through Box #1 (linux) to the router (for internet) and also to Box #3.*** Still can't see or ping routers or Box #3 (XP)! Should I set up my wlan0 card and wireless card on Box #3 with static IP addresses??? Bernd