View previous topic :: View next topic |
Author |
Message |
K3yMaster n00b

Joined: 07 Sep 2003 Posts: 27
|
Posted: Sun Nov 23, 2003 8:34 am Post subject: Network not working at one location |
|
|
Hi,
I'm running Gentoo on an Acer Travelmate 803 and everything is up and running. I'm able to get on my local network by getting an ip from my Linux server using DHCP.
Now comes the problem:
At my parents house where they have a LinkSys router handling the assignment of IPs I'm unable to get an ip. The other computers at my parents house, which are running Windows XP, have no problem getting an IP address.
I thought "well no problem" I'll just assign an ip myself, so I changed the following lines in /etc/conf.d/net:
iface_eth0="192.168.1.10 broadcast 192.168.1.255 netmask 255.255.255.0"
gateway="eth0/192.168.1.1"
After this change I did a /etc/init.d/net.eth0 restart, and using ifconfig I could see that everything seemed ok.
I then tried to ping 127.0.0.1, and then 192.168.1.10 and this was ok as well.
Then I ping 192.168.1.1 (gateway), but I get a "Destination host unreachable"
Its a strange issue, since I have no problems at home at all. I also tried to setup the DHCP again, but it just hangs
Here are some information on the setup:
net : 192.168.1.*
netmask : 255.255.255.0
gateway : 192.168.1.1
The router (192.168.1.1) is connected to the Internet on one side, and a switch on the other side. All local computers are connected to this switch.
/etc/conf.d/net:
iface_eth0="192.168.1.10 broadcast 192.168.1.255 netmask 255.255.255.0"
gateway="eth0/192.168.1.1"
<The rest of the lines are commented out>
/etc/resolv.conf:
nameserver <ip address for the nameserver that we use>
search lan
I hope you guys can give me some ideas to try out. |
|
Back to top |
|
 |
fleed l33t


Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Sun Nov 23, 2003 10:24 am Post subject: |
|
|
What does dhcpcd say? Do you have a link light turned on in the network card? Could it be a hardware problem (ethernet cable, port on the router is busted, etc)? Can you ping the Win computers on your parent's home network? If you can't then there's something wrong with the physical connection. Maybe you're using a cross-over cable instead of a straight through? |
|
Back to top |
|
 |
K3yMaster n00b

Joined: 07 Sep 2003 Posts: 27
|
Posted: Sun Nov 23, 2003 11:31 am Post subject: |
|
|
dhcpcd doesn't say much.. just hangs..
I was, at first, thinking the same regarding hardware issue, but it cant be the reason because I took out the network cable from a running computer that didn't have any problem getting an ip and thus connecting.
So it must be something else  |
|
Back to top |
|
 |
K3yMaster n00b

Joined: 07 Sep 2003 Posts: 27
|
Posted: Sun Nov 23, 2003 12:56 pm Post subject: |
|
|
I just tried to change my network configuration from DHCP to a fixed IP address, and it doesn't work.. I must be missing something?
I changed the /etc/conf.d/net file to:
iface_eth0="10.1.0.120 broadcast 10.1.0.255 netmask 255.255.255.0"
gateway="eth0/10.1.0.1"
and then /etc/init.d/net.eth0 stop
and then /etc/init.d/net.eth0 start
ifconfig shows the selected ip address, but I cant ping any of the computers on the network
I even tried rebooting, but nothing happens
What am I missing ? |
|
Back to top |
|
 |
fleed l33t


Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Sun Nov 23, 2003 5:57 pm Post subject: |
|
|
Is the physical light on at the interface, where the cable goes in? Does the router show your connection being up as well?
If you can't ping the other computers then nothing's working... when you say it doesn't work, what message do you get?
What's the output of dmesg? WHat does tail /var/log/messages (or tail /var/log/everything/current) look like? |
|
Back to top |
|
 |
|