LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2008, 01:07 PM   #1
m_shakanti
LQ Newbie
 
Registered: Dec 2008
Location: England, UK
Distribution: Fedora 10
Posts: 6

Rep: Reputation: 0
Internet works on Windows but not Linux


Hi,

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.

Please help...
 
Old 12-05-2008, 01:35 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
can you ping the gateway? 192.168.0.1
 
Old 12-05-2008, 01:41 PM   #3
m_shakanti
LQ Newbie
 
Registered: Dec 2008
Location: England, UK
Distribution: Fedora 10
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
can you ping the gateway? 192.168.0.1
I can, but it usually gives a loss of at least 40%.
 
Old 12-05-2008, 02:12 PM   #4
m_shakanti
LQ Newbie
 
Registered: Dec 2008
Location: England, UK
Distribution: Fedora 10
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by m_shakanti View Post
I can, but it usually gives a loss of at least 40%.
Actually, it gives a 100% packet loss now.
 
Old 12-06-2008, 01:35 AM   #5
daveginorge
Member
 
Registered: Oct 2006
Location: Porsgrunn, Norway
Distribution: CentOS 5 / 6 / 7
Posts: 107

Rep: Reputation: 16
What I found on FC9 was that I needed to start my dns service. I started dnsmasq and the internet burst into life for me.

If the package is not installed you can install it through the package installer or yum install dnsmasq

I found that yum worked even when the browser did not.
 
Old 12-06-2008, 09:50 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,278

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
No-brainers here - Check these files:

/etc/HOSTNAME
your FQDN. <host.domain.com>

/etc/hosts:
127.0.0.1 localhost host.yourdomain.com host

/etc/host.conf:
order hosts, bind
multi on

etc/resolv.conf

search yourdomain.com yourisp.com
nameserver IPV4 address dns1.yourisp.com
nameserver IPV4 address dns2.yourisp.com

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.
 
Old 12-06-2008, 05:19 PM   #7
framp
Member
 
Registered: Apr 2003
Location: Next to Stuttgart, Germany
Distribution: Debian, Mint, Raspbian
Posts: 131
Blog Entries: 5

Rep: Reputation: 27
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.
 
Old 12-06-2008, 06:21 PM   #8
m_shakanti
LQ Newbie
 
Registered: Dec 2008
Location: England, UK
Distribution: Fedora 10
Posts: 6

Original Poster
Rep: Reputation: 0
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:

/etc/HOSTNAME
your FQDN. <host.domain.com>

/etc/hosts:
127.0.0.1 localhost host.yourdomain.com host

I understand that I have to check the contents of the file /etc/hosts. For /etc/HOSTNAME, ir returns no such file or directory.


Code:
- collectNWData.sh V0.6.1.8 (Build date: 2008/12/05 17:33:47 -
- --- Which type of your network connection should be tested?
- --- (2) Wireless connection (WLAN)
- --- What's the type of networktopology?
- --- (2) WLAN HW router <---> LinuxClient
- --- On which host is the script executed?
- --- (1) LinuxClient
- !!! CND0180I: The system can't ping external IP address 195.135.220.3
- !!! CND0150E: There might be problems with the default gateway definition 192.168.0.1 on interface wlan0
- !!! CND0230W: IPV6 enabled
- !!! CND0310W: Classic network configuration with ifup was detected. Configuration with knetworkmanager is much easier
- --- Writing networkconfiguration information into file collectNWData.txt ...
- --- 1 errors detected
- --- 2 warnings detected
- --- Go to http://www.linux-tips-and-tricks.de/CND to get more detailed instructions about the error/warning messages and how to fix the problems
- --- If you still don't have success then post the contents of file collectNWData.txt in your favorite Linux forum or post contents on phpfi.com and then post the link to phpfi.com in your favorite forum
- ==================================================================================================================
- ==================================================================================================================
- *** uname -a
- Linux moix.SHAKANTI 2.6.27.5-117.fc10.x86_64 #1 SMP Tue Nov 18 11:58:53 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
- ==================================================================================================================
- *** cat /etc/SuSE-release
- cat: /etc/SuSE-release: No such file or directory
- ==================================================================================================================
- *** cat /etc/resolv | grep -vi "search"
- nameserver 192.168.0.1
- ==================================================================================================================
- *** route
- Kernel IP routing table
- Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
- 192.168.0.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0
- 192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
- 0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 wlan0
- ==================================================================================================================
- *** ifconfig
- lo        Link encap:Local Loopback  
-           inet addr:127.0.0.1  Mask:255.0.0.0
-           inet6 addr: ::1/128 Scope:Host
-           UP LOOPBACK RUNNING  MTU:16436  Metric:1
-           RX packets:21 errors:0 dropped:0 overruns:0 frame:0
-           TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
-           collisions:0 txqueuelen:0 
-           RX bytes:5984 (5.8 KiB)  TX bytes:5984 (5.8 KiB)
- virbr0    Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
-           inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
-           inet6 addr: fe80::2ca2:9ff:fef3:bbf9/64 Scope:Link
-           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
-           TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
-           collisions:0 txqueuelen:0 
-           RX bytes:0 (0.0 b)  TX bytes:5071 (4.9 KiB)
- wlan0     Link encap:Ethernet  HWaddr ##:##:##:##:##:#2  
-           inet addr:192.168.0.4  Bcast:192.168.0.255  Mask:255.255.255.0
-           inet6 addr: fe80::21e:2aff:fe3a:1fbe/64 Scope:Link
-           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-           RX packets:1556 errors:0 dropped:0 overruns:0 frame:0
-           TX packets:1424 errors:0 dropped:0 overruns:0 carrier:0
-           collisions:0 txqueuelen:1000 
-           RX bytes:221269 (216.0 KiB)  TX bytes:176547 (172.4 KiB)
- wmaster0  Link encap:UNSPEC  HWaddr 00-1E-2A-3A-1F-BE-C0-E6-00-00-00-00-00-00-00-00  
-           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
-           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
-           collisions:0 txqueuelen:1000 
-           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
- ==================================================================================================================
- *** ping tests
- Ping of 195.135.220.3 failed
- ping: unknown host www.suse.de
- Ping of www.suse.de failed
- ==================================================================================================================
- *** dhcpcd-test
- dhcpcd-test not available. dhcpcd package needs to be installed
- ==================================================================================================================
- *** lspci
- 03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 01)
- ==================================================================================================================
- *** lsusb
- Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 010 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 002 Device 004: ID 0781:5406 SanDisk Corp. Cruzer Micro 1/2/4GB Flash Drive
- Bus 002 Device 003: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
- Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 006 Device 002: ID 04b4:0202 Cypress Semiconductor Corp. 
- Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 004 Device 002: ID 55aa:b012 OnSpec Electronic, Inc. Mitsumi FA402M 8-in-2 Card Reader
- Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- ==================================================================================================================
- *** hwinfo --netcard; # (filtered)
- hwinfo not found
- ==================================================================================================================
- *** List of loaded modules
- | acpi_cpufreq            | aes_generic             | aes_x86_64              | arc4                     |
- | ata_generic             | bluetooth               | bnep                    | bridge                   |
- | cfg80211                | cpufreq_ondemand        | crc_itu_t               | crypto_blkcipher         |
- | dm_multipath            | ecb                     | eeprom_93cx6            | fat                      |
- | firewire_core           | firewire_ohci           | floppy                  | freq_table               |
- | fuse                    | i2c_core                | i2c_i801                | ip6table_filter          |
- | ip6_tables              | ip6t_REJECT             | iptable_nat             | ipt_MASQUERADE           |
- | ipv6                    | iTCO_vendor_support     | iTCO_wdt                | l2cap                    |
- | mac80211                | mii                     | nf_conntrack_ipv6       | nf_nat                   |
- | parport                 | parport_pc              | pata_acpi               | pata_jmicron             |
- | pcspkr                  | ppdev                   | r8169                   | rtl8187                  |
- | sco                     | shpchp                  | snd                     | snd_hda_intel            |
- | snd_hwdep               | snd_mixer_oss           | snd_page_alloc          | snd_pcm                  |
- | snd_pcm_oss             | snd_seq                 | snd_seq_device          | snd_seq_dummy            |
- | snd_seq_midi_event      | snd_seq_oss             | snd_timer               | soundcore                |
- | stp                     | sunrpc                  | uinput                  | usb_storage              |
- | vfat                    |
- ==================================================================================================================
- *** cat /etc/sysconfig/network/ifcfg-[earwd]* | egrep -v ".*=''"
- ==================================================================================================================
- *** iwconfig
- lo        no wireless extensions.
- wmaster0  no wireless extensions.
- eth0      no wireless extensions.
- pan0      no wireless extensions.
- virbr0    no wireless extensions.
- wlan0     IEEE 802.11bg  ESSID:"§§§§§§§§1"  
-           Mode:Managed  Frequency:2.437 GHz  Access Point: ##:##:##:##:##:#3   
-           Bit Rate=54 Mb/s   Tx-Power=27 dBm   
-           Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
-           Encryption key:@@ @@@-@@@@-@@@@-@@@@-@@@@-@@@@@@@ [2]   Security mode:open
-           Power Management:off
-           Link Quality=56/100  Signal level:-43 dBm  
-           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
-           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
- ==================================================================================================================
- *** Actual date for bias of following greps
- 23:57:46 2008-12-06
- ==================================================================================================================
- *** tail -n 300 /var/log/messages* | grep -i -A 5 'firmware'
- Dec  6 23:25:42 moix kernel: firmware: requesting intel-ucode/06-0f-0d
- Dec  6 23:25:42 moix kernel: firmware: requesting intel-ucode/06-0f-0d
- Dec  6 23:25:42 moix kernel: microcode: CPU0 updated from revision 0xa1 to 0xa3, date = 08132007 
- Dec  6 23:25:42 moix kernel: microcode: CPU1 updated from revision 0xa1 to 0xa3, date = 08132007 
- Dec  6 23:25:42 moix kernel: NET: Registered protocol family 10
- ---------------------------------------------------------------------------
- ==================================================================================================================
- *** grep -i radio /var/log/boot.msg | tail -n 5
- grep: /var/log/boot.msg: No such file or directory
- ==================================================================================================================
- *** dmesg | grep -i radio | tail -n 5
- ==================================================================================================================
- *** tail -n 300 /var/log/messages* | /bin/grep -i firmware | tail -n 5
- Dec  6 23:25:42 moix kernel: firmware: requesting intel-ucode/06-0f-0d
- Dec  6 23:25:42 moix kernel: firmware: requesting intel-ucode/06-0f-0d
- ==================================================================================================================
- *** ls -ls /lib/firmware
- total 5592
-   32 -rw-r--r-- 1 root root   30348 2005-05-07 20:56 atmel_at76c502_3com.bin
-   36 -rw-r--r-- 1 root root   35184 2005-05-07 20:56 atmel_at76c502_3com-wpa.bin
-   32 -rw-r--r-- 1 root root   31764 2005-05-07 20:56 atmel_at76c502.bin
-   32 -rw-r--r-- 1 root root   31764 2005-05-07 20:56 atmel_at76c502d.bin
-   36 -rw-r--r-- 1 root root   35276 2005-05-07 20:56 atmel_at76c502d-wpa.bin
-   32 -rw-r--r-- 1 root root   31776 2005-05-07 20:56 atmel_at76c502e.bin
-   36 -rw-r--r-- 1 root root   35272 2005-05-07 20:56 atmel_at76c502e-wpa.bin
-   36 -rw-r--r-- 1 root root   35276 2005-05-07 20:56 atmel_at76c502-wpa.bin
-   28 -rw-r--r-- 1 root root   28156 2006-08-02 20:34 atmel_at76c503-i3861.bin
-   28 -rw-r--r-- 1 root root   28032 2006-08-02 20:34 atmel_at76c503-i3863.bin
-   40 -rw-r--r-- 1 root root   37800 2006-08-02 20:34 atmel_at76c503-rfmd-acc.bin
-   40 -rw-r--r-- 1 root root   37956 2006-08-02 20:34 atmel_at76c503-rfmd.bin
-   36 -rw-r--r-- 1 root root   35180 2005-05-07 20:56 atmel_at76c504_2958-wpa.bin
-   40 -rw-r--r-- 1 root root   39928 2005-05-07 20:56 atmel_at76c504a_2958-wpa.bin
-   32 -rw-r--r-- 1 root root   31748 2005-05-07 20:56 atmel_at76c504.bin
-   36 -rw-r--r-- 1 root root   35196 2005-05-07 20:56 atmel_at76c504c-wpa.bin
-   40 -rw-r--r-- 1 root root   37005 2006-08-02 20:34 atmel_at76c505a-rfmd2958.bin
-   40 -rw-r--r-- 1 root root   36992 2006-08-02 20:34 atmel_at76c505-rfmd2958.bin
-   36 -rw-r--r-- 1 root root   35528 2006-08-02 20:34 atmel_at76c505-rfmd.bin
-   32 -rw-r--r-- 1 root root   31824 2005-05-07 20:56 atmel_at76c506.bin
-   36 -rw-r--r-- 1 root root   35228 2005-05-07 20:56 atmel_at76c506-wpa.bin
-   12 -rw-r--r-- 1 root root    9726 2008-11-18 17:29 atmsar11.fw
-    4 -rw-r--r-- 1 root root    3466 2005-05-07 20:56 COPYING.atmel-firmware
-    4 -rw-r--r-- 1 root root    1773 2006-08-02 20:34 COPYRIGHT-usb.atmel-firmware
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 cpia2
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 dabusb
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 dsp56k
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 edgeport
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 emi26
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 emi62
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 ess
-   36 -rw-r--r-- 1 root root   34304 2008-11-18 17:29 intelliport2.bin
-  212 -rw-r--r-- 1 root root  209190 2004-09-27 16:26 ipw2100-1.3.fw
-  204 -rw-r--r-- 1 root root  201138 2004-09-27 16:26 ipw2100-1.3-i.fw
-  196 -rw-r--r-- 1 root root  196458 2004-09-27 16:26 ipw2100-1.3-p.fw
-  192 -rw-r--r-- 1 root root  191142 2006-03-07 19:49 ipw2200-bss.fw
-  188 -rw-r--r-- 1 root root  185660 2006-03-07 19:49 ipw2200-ibss.fw
-  188 -rw-r--r-- 1 root root  187836 2006-03-07 19:49 ipw2200-sniffer.fw
-  152 -rw-r--r-- 1 root root  149816 2008-10-21 00:42 iwlwifi-3945-1.ucode
-  152 -rw-r--r-- 1 root root  149816 2008-10-21 00:42 iwlwifi-3945-2.ucode
-  152 -rw-r--r-- 1 root root  149652 2007-06-20 20:30 iwlwifi-3945.ucode
-  188 -rw-r--r-- 1 root root  187608 2008-07-02 21:03 iwlwifi-4965-1.ucode
-  188 -rw-r--r-- 1 root root  187672 2008-07-02 21:10 iwlwifi-4965-2.ucode
-  344 -rw-r--r-- 1 root root  345008 2008-06-02 17:37 iwlwifi-5000-1.ucode
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 kaweth
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 keyspan
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 keyspan_pda
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 korg
-   12 -rw-r--r-- 1 root root   11880 2004-03-03 19:13 LICENSE.ipw2100
-   12 -rw-r--r-- 1 root root   12007 2006-03-07 19:49 LICENSE.ipw2200-fw
-    4 -rw-r--r-- 1 root root    1777 2008-06-26 19:56 LICENSE.usb8388
- 1216 -rw-r--r-- 1 root root 1237470 2008-09-13 04:55 microcode.dat
-   80 -rw-r--r-- 1 root root   76802 2007-10-24 21:45 ql2100_fw.bin
-   88 -rw-r--r-- 1 root root   84566 2007-10-24 21:56 ql2200_fw.bin
-  128 -rw-r--r-- 1 root root  123170 2007-10-24 21:59 ql2300_fw.bin
-  136 -rw-r--r-- 1 root root  132978 2007-10-24 21:59 ql2322_fw.bin
-  228 -rw-r--r-- 1 root root  228056 2008-08-22 19:25 ql2400_fw.bin
-  240 -rw-r--r-- 1 root root  239052 2008-08-22 19:25 ql2400_fw.bin_mid
-    4 -rw-r--r-- 1 root root    2955 2005-05-07 20:56 README.atmel-firmware
-    4 -rw-r--r-- 1 root root    2685 2006-08-02 20:34 README-usb.atmel-firmware
-    8 -rw-r--r-- 1 root root    8192 2005-10-26 19:22 rt2561.bin
-    8 -rw-r--r-- 1 root root    8192 2005-10-26 19:22 rt2561s.bin
-    8 -rw-r--r-- 1 root root    8192 2005-10-26 19:22 rt2661.bin
-    4 -rw-r--r-- 1 root root    2048 2005-11-30 16:33 rt73.bin
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 sb16
-   16 -rw-r--r-- 1 root root   13765 2008-11-18 17:29 ti_3410.fw
-   16 -rw-r--r-- 1 root root   13764 2008-11-18 17:29 ti_5052.fw
-    8 -rw-r--r-- 1 root root    7614 2008-11-18 17:29 tr_smctr.bin
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 ttusb-budget
-  128 -rw-r--r-- 1 root root  123736 2008-06-26 19:56 usb8388.bin
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 vicam
-   24 -rw-r--r-- 1 root root   23554 2008-11-18 17:29 whiteheat.fw
-    8 -rw-r--r-- 1 root root    5626 2008-11-18 17:29 whiteheat_loader.fw
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:15 yamaha
-    4 drwxr-xr-x 2 root root    4096 2008-12-05 12:16 zd1211
- ==================================================================================================================
- *** ndiswrapper -l
- No ndiswrapper module loaded
- ==================================================================================================================
- *** Active processes
- wpa_supplicant:YES knetworkmanager:NO nm-applet:YES
- ==================================================================================================================
- *** grep NETWORKMANAGER /etc/sysconfig/network/config
- grep: /etc/sysconfig/network/config: Not a directory
- ==================================================================================================================
- *** grep -i persistent /etc/sysconfig/network/config
- grep: /etc/sysconfig/network/config: Not a directory
- ==================================================================================================================
- *** grep 'eth|ath|wlan|ra' /etc/udev/rules.d/*net_persistent* /etc/udev/rules.d/70-persistent-net
- egrep: /etc/udev/rules.d/*net_persistent*: No such file or directory
- /etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#4", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
- /etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#2", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
- ==================================================================================================================
- *** grep -r 'eth[0-10]|ath[0-10]|wlan[0-10]|ra[0-10]' /etc/modprobe.*
- /etc/modprobe.d/modprobe.conf.dist:install eth1394 /bin/true
- ==================================================================================================================
- *** iwlist scanning
-                     ESSID:"§§§§§§§§1"
-                     Channel:6
-                     Quality=28/100  Signal level:-57 dBm  
-                     Encryption key:on
-                     IE: IEEE 802.11i/WPA2 Version 1
- ==================================================================================================================
- *** NWEliza states
- IF:wlan0  IM:2
- DI:1 dI:1 NIC:0 cNiC:1:0 NI:0 cNI:0 PNG:1 DR:1 MTU:0 NISS:0 IP6:1 KM:0 WLW: 0 AP:1 
-
 
Old 12-07-2008, 10:42 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,278

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Arrow

Quote:
Originally Posted by m_shakanti View Post
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:

/etc/HOSTNAME
your FQDN. <host.domain.com>

/etc/hosts:
127.0.0.1 localhost host.yourdomain.com host

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.
 
Old 12-07-2008, 10:43 AM   #10
framp
Member
 
Registered: Apr 2003
Location: Next to Stuttgart, Germany
Distribution: Debian, Mint, Raspbian
Posts: 131
Blog Entries: 5

Rep: Reputation: 27
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.
 
Old 12-07-2008, 12:59 PM   #11
m_shakanti
LQ Newbie
 
Registered: Dec 2008
Location: England, UK
Distribution: Fedora 10
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by framp View Post
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.
How do you remove XEN?
 
Old 12-08-2008, 03:44 PM   #12
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,278

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Lightbulb

Quote:
Originally Posted by framp View Post
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'

2. Guessing: try 'ping -c3 127.0.0.1 . Repeat for 192.168.0.1, 192.168.0.4 (ping -c3 192.168.0.1, etc).

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.
 
Old 12-10-2008, 04:15 PM   #13
m_shakanti
LQ Newbie
 
Registered: Dec 2008
Location: England, UK
Distribution: Fedora 10
Posts: 6

Original Poster
Rep: Reputation: 0
Still nothing. I get 100% good when I ping 192.168.0.4 and 127.0.0.1 (but obviously that is pinging myself).
 
Old 12-16-2008, 11:46 PM   #14
doctorcisco
Member
 
Registered: Nov 2003
Posts: 70

Rep: Reputation: 17
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.

doc
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No internet access in linux, works fine in windows c0uchm0nster Linux - Networking 8 01-29-2004 06:45 AM
My internet works with Windouz, but with LINUX :((( turnovg Linux - Networking 19 12-16-2003 01:02 PM
No Internet in Linux, Works in XP whoami Linux - Networking 13 12-01-2003 07:04 PM
Internet works with Windows but not Linux. costasm Linux - Networking 8 11-26-2003 12:08 PM
Which ISP (internet provider) works well with Linux? Rayvenz Linux - Newbie 3 03-24-2003 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration