UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi everybody.
I've just installed Ubuntu 5.10 and I've got a big problem.
On my Acer Aspire 1694wlmi I've got two network cards:
- Broadcom NetXtreme Gigabit Ethernet (eth0)
- Intel PRO/Wireless 2200 BG (eth1)
Neither eth0 nor eth1 work, but I know that wifi needs more work, while in all other distributions the ethernet worked properly!
This time ethernet just doesn't work.
I tried to configure eth0 grafically and manually, but still when I try ping 192.168.1.1 (my router) the response is "Destination Host Unreachable", and if I try ping a site (like google) the response is worst: "unknown host".
In /etc/resolve.conf my gateway is correctly set.
This is my /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
iface eth0 inet static
network 192.168.1.0
broadcast 192.168.1.255
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1
address 192.168.1.8
netmask 255.255.255.0
gateway 192.168.1.1
iface eth1 inet static
wireless-essid MDMGDM
wireless-key aaaaaaaaaaaaaaaaaaaaaaaaaa
address 192.168.1.9
netmask 255.255.255.0
gateway 192.168.1.1
auto eth0
I can't really understand what is wrong....
Can somebody help me?
Thank you very much
Giuse
Hi !
What is the output for "ifconfig eth0" and "ifconfig eth1" ?
What is the output for "route -n" ?
What is the output for "cat /etc/resolv.conf" ?
What is the output for "lspci" ?
Theses commands are the "bare-bones" for networking debug. It will show to us if the network card was detected, what are the current settings on the card (not at the configuration files) and network sub-system.
Your setup for eth0 is fine. The route table is fine, as the resolver.
Looks like the problem is not on the machine you are working on.
Change your focus away from your machine.
Check cables, hubs, etc. Do you have a second machine in this lan to check if you can access it ? Helps if you disable the firewall in every machine you are testing.
Try to ping the other interface (WAN) of your router. May be the router is blocking replies for the ping on the LAN interface...
Your setup for eth0 is fine. The route table is fine, as the resolver.
I tried on another computer of the lan, but that works fine.
Moreover the same configuration (router, ethernet card, cables) worked perfectly in Mandriva and I've just tried in Knoppix 4.0.2 and there are no problem!
The problem arises only on Ubuntu and Kubuntu 3.10!
I noticed a difference, though.
While in Ubuntu with route -n the output is:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
In Knoppix is almost the same, but in the first line, instead of 192.168.1.0 there is 192.168.1.1.
Is it normal??
Thank you....
No it is not normal.
The first column is a network address (all bits in the hosts section are zeros). 192.168.1.1/24 is a host address, not a network address.
The first line tells to the router sub-system that every packet to the network 192.168.1.0/255.255.255.0 can be sent directly to the wire (eth0) (because the gateway is zero).
The second line tells that packets for any other addresses (all zeros) must be sent to an another router at address 192.168.1.1 which can be found at the wire attached to eth0.
I don't known how this wrong address goes there.
To fix it:
# route del -net 192.168.1.1 netmask 255.255.255.0
# route add -net 192.168.1.0 netmask 255.255.255.0 eth0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.