LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 01-11-2006, 04:03 AM   #1
Capecod
LQ Newbie
 
Registered: Jan 2006
Location: Nantes, FRANCE
Distribution: Mandriva 2006//Fedora Core 4
Posts: 13

Rep: Reputation: 0
Set up my wifi network with mandriva2006


Hi all
Sorry for my english (my french is better)

I have trouble to set up my wifi network.
After looking in many forum, serching many informations and solutions (with no succes) i ask you to find the way.
So, the distib is Mandriva2006
the wifi card is ASUS wifi 802.11G with RALINK rt2500 chipset (Mandriva recognize the card verry well)
the AP is also ROUTEUR and WIFI (it's a box called FREEBOX in france)
The routeur mode is active, DHCP is not actived, i have a static IP 192.168.0.59
and the gateway (the freebox) adress is 192.168.0.254.
The DNS 1 & 2 are set up in the mandriva network configuration.
encryption method is WEP
The mandriva network icon say that" the network is active on interface ra0" but however it is impossible for me to connect
Mandriva "see" my network but only with one red bar.
HELP!!!

Here the result of : iwconfig, ifconfig, etc...
[root@capecod Desktop]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0E:A6:A7:5F:96
adr inet6: fe80::20e:a6ff:fea7:5f96/64 Scope:Lien
UP BROADCAST 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 lg file transmission:1000
RX bytes:0 (0.0 TX bytes:0 (0.0
Interruption:20 Adresse de base:0xe000

eth1 Link encap:Ethernet HWaddr 00:0E:A6:A7:99:66
adr inet6: fe80::20e:a6ff:fea7:9966/64 Scope:Lien
UP BROADCAST 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 lg file transmission:1000
RX bytes:0 (0.0 TX bytes:0 (0.0
Interruption:17 Mémoire:e1000000-0

lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:136 errors:0 dropped:0 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:11736 (11.4 KiB) TX bytes:11736 (11.4 KiB)

ra0 Link encap:Ethernet HWaddr 00:118:C0:BF:9B
inet adr:192.168.0.59 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::211:d8ff:fec0:bf9b/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7427 errors:0 dropped:0 overruns:0 frame:0
TX packets:901 errors:3 dropped:3 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:678193 (662.2 KiB) TX bytes:38558 (37.6 KiB)
Interruption:18 Adresse de base:0x8000

[root@capecod Desktop]# iwconfig
lo no wireless extensions.

eth2 no wireless extensions.

sit0 no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

ra0 RT2500 Wireless ESSID:"capecod_wifi" Nickname:"capecod"
Mode:Managed Frequency=11 MHz Access Point: 00:07:CB:52:85:E9
Bit Rate=11 Mb/s
RTS thrff Fragment thrff
Encryption key:CAxxxxxxxxxxxxxxxxxxxx-69 Security modepen
Link Quality=0/70 Signal level:-211 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


[root@capecod Desktop]# tail -20 /var/log/messages
Jan 10 14:49:09 capecod drakroam[9938]: ### Program is exiting ###
Jan 10 14:49:43 capecod drakoo[10612]: ### Program is starting ###
Jan 10 14:49:47 capecod drakoo[10612]: ### Program is exiting ###
Jan 10 14:49:56 capecod net_applet[4304]: running: /sbin/iwgetid -r ra0
Jan 10 14:49:56 capecod net_applet[4304]: running: /sbin/iwgetid -r -a ra0
Jan 10 14:49:56 capecod net_applet[4304]: running: /sbin/iwlist ra0 scanning
Jan 10 14:50:56 capecod net_applet[4304]: running: /sbin/iwgetid -r ra0
Jan 10 14:50:56 capecod net_applet[4304]: running: /sbin/iwgetid -r -a ra0
Jan 10 14:50:56 capecod net_applet[4304]: running: /sbin/iwlist ra0 scanning
Jan 10 14:51:56 capecod net_applet[4304]: running: /sbin/iwgetid -r ra0
Jan 10 14:51:56 capecod net_applet[4304]: running: /sbin/iwgetid -r -a ra0
Jan 10 14:51:56 capecod net_applet[4304]: running: /sbin/iwlist ra0 scanning
Jan 10 14:52:55 capecod su(pam_unix)[9817]: session closed for user root
Jan 10 14:52:56 capecod net_applet[4304]: running: /sbin/iwgetid -r ra0
Jan 10 14:52:56 capecod net_applet[4304]: running: /sbin/iwgetid -r -a ra0
Jan 10 14:52:56 capecod net_applet[4304]: running: /sbin/iwlist ra0 scanning
Jan 10 14:53:14 capecod su(pam_unix)[10783]: session opened for user root by capecod(uid=500)
Jan 10 14:53:56 capecod net_applet[4304]: running: /sbin/iwgetid -r ra0
Jan 10 14:53:56 capecod net_applet[4304]: running: /sbin/iwgetid -r -a ra0
Jan 10 14:53:56 capecod net_applet[4304]: running: /sbin/iwlist ra0 scanning

Le ping sur 192.168.0.254 :

root@capecod Desktop]# ping 192.168.0.254
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.
From 192.168.0.59 icmp_seq=1 Destination Host Unreachable
From 192.168.0.59 icmp_seq=2 Destination Host Unreachable
From 192.168.0.59 icmp_seq=3 Destination Host Unreachable
From 192.168.0.59 icmp_seq=5 Destination Host Unreachable
From 192.168.0.59 icmp_seq=6 Destination Host Unreachable
From 192.168.0.59 icmp_seq=7 Destination Host Unreachable

i try also with FEDORA4 and UBUNTU but whit no succes, so i ask you the question, what is wrong ???? (every thing work well with WIN XP...)

Thanks for your help

capecod (débutant linuxien motivé)
 
Old 01-11-2006, 12:54 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Welcome to LQ!

I'm betting you have two problems since you're usining a static IP.

First, you need to set your gateway to point at your router using the route command:

route add default gw 192.168.0.254

Second, you need to edit your /etc/resolv.conf file to include at least one nameserver. If your router picks up and IP address from your internet provider with DHCP, it can probably serve as the nameserver. Otherwise, you will need to list the IP addresses of the nameservers your ISP uses. Each nameserver should have its own line:

nameserver 192.168.0.254
nameserver 1.2.3.4 (only use the IP address of your ISP's nameserver)
 
Old 01-11-2006, 02:22 PM   #3
wazzubrad
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Rep: Reputation: 0
I am having nearly the exact same problem! The only difference is that I am using a Linksys wmp54g pci card using the same RA2500 driver and I am getting one red "bar" of reception. I am thinking this is a Mandriva 2006 problem of some sort. With 2005LE, I had no issues whatsoever. I tried running the command

route add default gw 192.168.0.254

with the result of

SIOCADDRT: Network is unreachable

Any ideas?
 
Old 01-11-2006, 03:50 PM   #4
wazzubrad
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Rep: Reputation: 0
Capecod, are you able to connect to a network? I have been able to connect to 2 different routers but with 0/70 link quality. When trying to access a web page, I can sometimes receive a little data after waiting 3-4 minutes, but this is rare. When looking at my netapplet, I have one red bar for both connections. I have tried 3 different wireless cards with all the same results. The wireless card I am using now (Linksys wmp54g) has worked fine in the past but with Mandriva 2005 LE.
 
Old 01-11-2006, 04:27 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Quote:
route add default gw 192.168.0.254
OK, you have to modify this to fit your network. The reason I have the 191.168.0.254 IP address in that command is that is the IP address that Capecod gave for his router. If your router isn't at 192.168.0.254, then you would expect to get the Network is unreachable error because it is trying to use the wrong IP address for your router.

So if you used that command as it is without changing the IP address, then try it only this time use the IP address of your router.
 
Old 01-12-2006, 02:24 AM   #6
Capecod
LQ Newbie
 
Registered: Jan 2006
Location: Nantes, FRANCE
Distribution: Mandriva 2006//Fedora Core 4
Posts: 13

Original Poster
Rep: Reputation: 0
YES, you are damn good !!!! i'm working for one week on this !!!!

Just by adding "route add default gw 192.168.0.254" i'm currently connected on the net on my Mandriva 2006 to post this reply !!!
I still have one red bar in the bar scale but the "network watching" give me 1.2 kb/s in dl
Ok, now how to make this automatic on each time i load mandriva ?
Thank's a lot

capecod
 
Old 01-12-2006, 04:46 AM   #7
Capecod
LQ Newbie
 
Registered: Jan 2006
Location: Nantes, FRANCE
Distribution: Mandriva 2006//Fedora Core 4
Posts: 13

Original Poster
Rep: Reputation: 0
[resolved]

yo

I try to do the same (route add ....) on my FC4, and the answer is : SIOCADDRT: file exist
and i still can't connect

so i reinstall a clean Mandriva 2006 and ..... i connect directly with no "route add ...."

well the things work and that's great !!!

thank's all for your help

Capecod (happy newb)
 
Old 01-12-2006, 03:31 PM   #8
wazzubrad
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Rep: Reputation: 0
Capecod, I am glad to hear you got it working! I did try a re-intall this morning also and found that I am getting some connectivity. The only thing that I do notice is that I Firefox is very slow responding to or finding the DNS's. I have entered my routers IP address of 192.168.1.1 and also my ISP's DNS server into the resolv.conf file. Is this correct Hangdog42? Also, the correct setup I have is a 1500 Mbs/1024 Mb/s DSL Line connected to an Actiontec wireless DSL modem from Qwest, which is connected to the Linksys wireless router via ethernet cable. I am accessing the Linksys. Does this effect what DNS servers I enter in the resolv.conf? Also, here is the result of iwconfig:

[root@localhost brad]# iwconfig

ra0 RT2500 Wireless ESSID:"Schmidt House" Nickname:"localhost"
Mode:Managed Channel=7 Access Point: 00:14:BF:B6:E1:BE
Bit Rate=54 Mb/s
RTS thrff Fragment thrff
Encryption keyff
Link Quality=0/70 Signal level:-198 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

I cannot figure out why I would have 0 link quality and all the noise? I really doubt these numbers. The wireless router is 10 feet away with nothing that should be affecting the signal. Any thoughts? Thanks again for the previous help.
 
Old 01-12-2006, 03:42 PM   #9
wazzubrad
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Rep: Reputation: 0
Hangdog42, I wanted to apologize, I just reread through your post and discovered your instructions on which DNS address to put in the resolv.conf.


Quote:
Originally Posted by Hangdog42
Welcome to LQ!
Second, you need to edit your /etc/resolv.conf file to include at least one nameserver. If your router picks up and IP address from your internet provider with DHCP, it can probably serve as the nameserver. Otherwise, you will need to list the IP addresses of the nameservers your ISP uses. Each nameserver should have its own line:

nameserver 192.168.0.254
nameserver 1.2.3.4 (only use the IP address of your ISP's nameserver)
It works great! Thanks again.
 
Old 01-12-2006, 04:46 PM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Glad you figured out the nameserver bit. Probably every once in awhile you need to check to make sure your ISP hasn't swapped in some new ones, but I've only rarely seen that happen.

Did you figure out the link quality problem? To be honest, if you are able to access the Internet I wouldn't worry about it too much, but if you are having performance problems, then a little tinkering might be in order.
 
Old 01-13-2006, 02:11 PM   #11
wazzubrad
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Rep: Reputation: 0
I still haven't quite figured out the Link Quality problem. I am getting very good connectivity so I am not to worried about it! Thanks again for all your help,

Brad
 
Old 01-14-2006, 12:18 PM   #12
jasonhouse
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
I'm also having trouble with wireless in Mandriva 2006.

As far as I can tell, everything is configured correctly.
My wireless interface is ath0 (and from modprobe corresponds to ath_pci)

dhclient finishes with following two lines:
DHPACK from 192.168.1.1
bound to 192.168.1.103 -- renewal in 35566 seconds.

route -n gives the following output:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 30 0 0 ath0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 30 0 0 ath0

Forgive me for not typing everything since I'm doing this from a different computer. The "Network Monitoring" utility says that it's connected on ath0 if I hover the mouse over it. If I double click on it, however, the bottom of the window says "Not connected". If I click on the "Connect wifi" button, it gets an error and instructs me to go to the control center. The control center is of no help since it gives no errors of any kind.

What baffles me is that dhclient works while ping doesn't.

ping -c 10 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.103 icmp seq=1 Destination Host Unreachable
From 192.168.1.103 icmp seq=1 Destination Host Unreachable
From 192.168.1.103 icmp seq=1 Destination Host Unreachable
From 192.168.1.103 icmp seq=1 Destination Host Unreachable
From 192.168.1.103 icmp seq=1 Destination Host Unreachable
From 192.168.1.103 icmp seq=1 Destination Host Unreachable
From 192.168.1.103 icmp seq=1 Destination Host Unreachable
From 192.168.1.103 icmp seq=1 Destination Host Unreachable
From 192.168.1.103 icmp seq=1 Destination Host Unreachable
From 192.168.1.103 icmp seq=1 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
0 packets transmitted, 0 received, +10 errors

I modified /etc/resolv.conf to list the gateway (192.168.1.1) but I doubt that affects this issue.

What else can I try? Anything anyone else needs to see?
 
Old 01-14-2006, 12:55 PM   #13
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Since your route output looks good, could you post the outputs of ifconfig and iwconfig? By the way, using redirection to save output greatly reduces typing. So if you enter something like this:

ifconfig > ifconfig_output.txt

Then what normally would be displayed on the screen gets saved in a file (ifconfig_output.txt) instead. Then you can open that file in a text edior and just use cut/paste.
 
Old 01-16-2006, 02:56 PM   #14
Capecod
LQ Newbie
 
Registered: Jan 2006
Location: Nantes, FRANCE
Distribution: Mandriva 2006//Fedora Core 4
Posts: 13

Original Poster
Rep: Reputation: 0
Hi all

I now connect with no problem using Mandriva2006.
So i try to install SUSE10.0
I put exactly the same parameters, my wifi card work find but i still cant connect
I would like to compare the files on both Mandriva and Suse to see what is different, but i dont now which file to compare.
i already compare resolv.conf and the content is the 2 nameserver on both.

Can you help
Thanks for coop

Capecod
 
Old 01-16-2006, 03:17 PM   #15
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
You want to compare the outputs of iwconfig, ifconfig and route -n. Those will hopefully give you a clue as to what is going wrong.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Bridging a wired network to a wifi network bobmcobob Linux - Wireless Networking 2 07-18-2008 07:36 PM
mandriva2006 cannot partition Sata HD w. Intel controller erwan.chauty Mandriva 17 02-23-2006 06:38 PM
INFRARED & Screen Resolution - Mandriva2006 kmaltese Mandriva 1 11-23-2005 07:44 PM
WIFI: Interface could not be set up. Bundy Linux - Wireless Networking 1 10-06-2005 08:11 PM
how do you set up your Linux box to route secure wifi? richard3403 Linux - Wireless Networking 0 11-15-2003 03:40 PM


All times are GMT -5. The time now is 06:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration