Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
I have installed Fedora 10 several days ago and have been trying to get the internet to work for the same amount of time. I have reinstalled Fedora several times, but still no result. I have also been trawling the net on my laptop since I first installed it but have been unsuccessful.
Hardware: Netgear WG111v3 Wireless USB Card - Netgear ADSL DG834PN wireless router (Router IP - 192.168.0.1). Motherboard: Asus P5B - has built in Gigabit LAN. I do not have the capability to connect it to the router with a wire.
My wireless card is automatically detected by Fedora. When I clicked connect on the NetworkManager Applet 0.7.0 the first time, it asked for the WPA2 key, which I entered and it stored. Everytime I boot into Linux it shows a connected to network message.
When I right click and select connection information on the applet, it shows my IP as 192.168.0.4 and subnet address as 255.255.255.0 and default route and primary dns which are both 192.168.0.1.
When I open Firefox, it does not load anything...anything at all.
If I restart into Windows XP, the internet works absolutely fine.
If you can't find these, add opendns.org on line 1, use 208.67.222.222 for line 2 and 208.67.220.220 for line 3
Be aware that every time you start your network, Fedora's scripts will probably rewrite this file. There's ways of stopping that from happening. I ended up tangling with the scripts and hacking them, as what I thought would stop them did not.
I'll bet resolv.conf (specifying the search order) may be the issue.
Execute this script, read the messages carefully and follow the instructions on the linked webpages. If you still can't fix the problem on your own then post the contents of the generated outputfile. This will give us detailed info about your network config and setup and we will be able to help you to solve your network problem.
Hi, below is the output of the collectNWData script that I ran. I personally can not see any obvious problems. As for business_kid's instructions, I would be grateful if you could clarify the below two lines:
Hi, below is the output of the collectNWData script that I ran. I personally can not see any obvious problems. As for business_kid's instructions, I would be grateful if you could clarify the below two lines:
I understand that I have to check the contents of the file /etc/hosts. For /etc/HOSTNAME, ir returns no such file or directory.
You were asked to give a host name, and a domain while installing. All hosts (boxes) have individual hostnames, and their common network is the domain. For instance gmail.google.com is the main box to handle gmail's webmail service .
The hostname is gmail; the domain is google.com; and the FQDN (Fully Qualified Domain Name) is gmail.google.com
cat "your FQDN" > /etc/HOSTNAME
e.g. cat "gmail.google.com" > /etc/HOSTNAME would write /etc/HOSTNAME for google's gmail server. The /etc/hosts for the same box should have
127.0.0.1 localhost gmail.google.com gmail
Don't copy my example, but insert your own names there.
You have a network connection. But for some reasons you can't get out of your net. Frankly I don't have any clue what's wrong. But what I suggest to do:
1) I see a virtbr0 nic defined on your box which comes from XEN. Do you really use XEN? If not I would disable XEN. I'm not sure whether this fixes the problem but anyhow it's a good strategy to remove unused network devices.
2) You have IPV6 enabled. I've seen people with similar problems because of this. Just disable IPV6 if you don't actually need it.
You have a network connection. But for some reasons you can't get out of your net. Frankly I don't have any clue what's wrong. But what I suggest to do:
1) I see a virtbr0 nic defined on your box which comes from XEN. Do you really use XEN? If not I would disable XEN. I'm not sure whether this fixes the problem but anyhow it's a good strategy to remove unused network devices.
2) You have IPV6 enabled. I've seen people with similar problems because of this. Just disable IPV6 if you don't actually need it.
You have a network connection. But for some reasons you can't get out of your net. Frankly I don't have any clue what's wrong. But what I suggest to do:
1) I see a virtbr0 nic defined on your box which comes from XEN. Do you really use XEN? If not I would disable XEN. I'm not sure whether this fixes the problem but anyhow it's a good strategy to remove unused network devices.
2) You have IPV6 enabled. I've seen people with similar problems because of this. Just disable IPV6 if you don't actually need it.
In addition to the two above, May I throw in a few other suggestions?
1. Particularly if you have a Via Chipset, check the interrupts.
cat /proc/interrupts
I've had this issue because the Via chipset I was running had a broken hardware APIC (The thing that assigns the irqs to devices on startup). This resulted in many things sharing some halfassed IRQ like 20 or 22. To make a long story short, the system did not use the irq the nic thought it should be addressed on. No network. Fix the irq problem and I was back online. In my case that meant adding a boot option 'noapic'
My guess is you will not see 192.168.0.1 but you will see 192.168.0.4
I suspect your box has a default route set up via eth0 (your network interface) and that you want that to be through the wlan, but your wlan doesn't appear in the routing table. the quick fix might be
ifdown eth0
then restart your wireless interface and try the same ping commands again
The real fix is in the startup scripts, which are distribution specific, or in the /etc/sysconfig directory files.
One intersting line from the network diagnostic script:
"- !!! CND0310W: Classic network configuration with ifup was detected. Configuration with knetworkmanager is much easier"
In Ubuntu, at least, if you're using the network manager, you must ensure that the /etc/network/interfaces file (it's in a different location on Red Hat) has all interfaces set to auto.
But like the previous poster, I'm willing to bet that if you install with a Xen-less kernel, you'll fix your problem. I've seen Xen-enabled kernels not work right on enterprise-class corporate networks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.