 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

16th October 2007, 06:07 AM
|
|
Registered User
|
|
Join Date: Aug 2007
Posts: 12

|
|
|
Wireless Net.. Everything seems to be fine?
OK, so I'm trying to connect to a wireless network and I've already made some progress. I have an unsupported card, but I got it working using ndiswrapper (which seems to be fine, the only problem is that it doesn't automatically show up on Network Manager so I have to do it all in a terminal window -- confusing).
Alright, let me just paste what I've managed to get to so far, and their responses (I'm working out of su -):
Code:
[root@localhost ~]# modprobe ndiswrapper
[root@localhost ~]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s Encryption key:off Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[root@localhost ~]# iwconfig wlan0 mode ad-hoc
[root@localhost ~]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:13:46:CC:05:50
ESSID:"Boileau Network"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:39/100 Signal level:-71 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=50
Extra:atim=0
[root@localhost ~]# iwconfig wlan0 key open 0123456789
[root@localhost ~]# iwconfig wlan0 ap 00:13:46:CC:05:50
[root@localhost ~]# iwconfig wlan0 essid "Boileau Network"
[root@localhost ~]# iwconfig wlan0 commit
[root@localhost ~]# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"Boileau Network"
Mode:Managed Frequency:2.437 GHz Access Point: 00:13:46:CC:05:50
Bit Rate=54 Mb/s
Encryption key:0123-4567-89 Security mode:open
Power Management min timeout:0us mode:All packets received
Link Quality:45/100 Signal level:-67 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:10 Invalid misc:108 Missed beacon:0
[root@localhost ~]# ifconfig wlan0 up
[root@localhost ~]# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:13:F7:00:2A:F4
inet6 addr: fe80::213:f7ff:fe00:2af4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:4178 (4.0 KiB)
Interrupt:17 Memory:d3000000-d3010000
I also tried
ifconfig wlan0 (my manual ip) netmask 255.255.255.0
And dhclient, though to be honest whenever I type in "dhclient" the terminal freezes and I have to open a new session. Basically I have no idea what most of that information means, since I had originally assumed that it meant it was working fine, but the browser obviously doesn't work and I'm assuming I need the dhcp to give me an IP, but I have no idea how to do that (or if there's anything wrong with what I've got so far).
Any help would be appreciated  Having to reboot my computer just to try one new line of code every ten seconds is getting kind of old.
|

16th October 2007, 04:04 PM
|
|
Registered User
|
|
Join Date: Aug 2007
Posts: 12

|
|
|
Oh, I forgot to mention that I'm working with Fedora 7, with an up-to-date kernel.
|

16th October 2007, 05:18 PM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Algeria
Posts: 800

|
|
|
I would suggest to you first to try to connect without any encryption and then after if you can go outside and eveything is OK, it 'll be time to add encryption wpe/wpa.
red
|

16th October 2007, 06:09 PM
|
 |
Registered User
|
|
Join Date: Jul 2007
Location: Indiana USA
Posts: 1,715

|
|
It won't "automatically" show up in network manager, you need to go to add new device>wireless>ndiswrapper
If you don't see the entry for ndiswrapper, do this:
Code:
su -
echo "alias wlan0 ndiswrapper" >> /etc/modprobe.conf
echo "alias wlan0 ndiswrapper" >> /etc/modprobe.d/ndiswrapper
echo "ndiswrapper" >> /etc/modules
I don't recommend setting it to "active on boot" because if you have no wireless this will make your boot take forever. I don't even set my ethernet to "active on boot"
Hope that helps
__________________
The answer to all of lifes questions are buried somewhere in the Google search engine.
Code:
[Stephen@localhost ~]$ whatis this?
this?: nothing appropriate
|

17th October 2007, 07:29 AM
|
|
Registered User
|
|
Join Date: Aug 2007
Posts: 12

|
|
Quote:
|
Originally Posted by FriedChips
It won't "automatically" show up in network manager, you need to go to add new device>wireless>ndiswrapper
If you don't see the entry for ndiswrapper, do this:
Code:
su -
echo "alias wlan0 ndiswrapper" >> /etc/modprobe.conf
echo "alias wlan0 ndiswrapper" >> /etc/modprobe.d/ndiswrapper
echo "ndiswrapper" >> /etc/modules
I don't recommend setting it to "active on boot" because if you have no wireless this will make your boot take forever. I don't even set my ethernet to "active on boot"
Hope that helps 
|
Thanks, that managed to get it to pop up in network manager (Gnome)! Makes my life that much easier.
I tried turning off encryption and I got the same results. I'll keep trying that to see if it helps along the way...
Right now I've got the card up in network manager, but it doesn't seem to be able to find an IP via DHCP, and the static IP that I give it doesn't work (it says "active" no matter what kind of fictional IP I give it, including the correct one, and none of them allow me to connect to the internet). And asking it to automatically detect an IP claims that there is a cable unplugged... which can't be right because I can iwlist wlan0 scanning and detect networks, and otherwise work with the card. An ndiswrapper error, maybe? (please god no)
If it helps anyone, I'm trying to connect through a windows network, if that causes any problems. I feel like I had similar problems connecting my windows partition as well, but the information requested in NM is so straightforward that I fail to see the problem.. static IP, gateway IP, subnet mask, all of these things I can see in my windows partition and plug in, but they don't work.. This is probably just a silly problem that I'm overthinking.. anyone?
|

17th October 2007, 10:45 AM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Algeria
Posts: 800

|
|
Quote:
|
Originally Posted by Milkrunner
Thanks, that managed to get it to pop up in network manager (Gnome)! Makes my life that much easier.
I tried turning off encryption and I got the same results. I'll keep trying that to see if it helps along the way...
Right now I've got the card up in network manager, but it doesn't seem to be able to find an IP via DHCP, and the static IP that I give it doesn't work (it says "active" no matter what kind of fictional IP I give it, including the correct one, and none of them allow me to connect to the internet). And asking it to automatically detect an IP claims that there is a cable unplugged... which can't be right because I can iwlist wlan0 scanning and detect networks, and otherwise work with the card. An ndiswrapper error, maybe? (please god no)
If it helps anyone, I'm trying to connect through a windows network, if that causes any problems. I feel like I had similar problems connecting my windows partition as well, but the information requested in NM is so straightforward that I fail to see the problem.. static IP, gateway IP, subnet mask, all of these things I can see in my windows partition and plug in, but they don't work.. This is probably just a silly problem that I'm overthinking.. anyone?
|
if you can't connect even with the windoz partition, i suggest to see your router/modem config???
red
|

17th October 2007, 05:01 PM
|
|
Registered User
|
|
Join Date: Aug 2007
Posts: 12

|
|
|
I don't have problems connecting with my windows partition, I had problems getting it set up on my end, but it works fine now that I know what I'm doing (with windows).
|

17th October 2007, 05:37 PM
|
 |
Registered User
|
|
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,762

|
|
|
Look at your first message, you listed running this command:
iwconfig wlan0 mode ad-hoc
But the ap's are listed as being "managed" so the setting for the card should be either "auto or managed" might want to check that....
|

17th October 2007, 05:43 PM
|
 |
Registered User
|
|
Join Date: Jul 2007
Location: Indiana USA
Posts: 1,715

|
|
|
issue this command to see if you card can "see" anything as far as networks
su -
iwlist wlan0 scan
If that doesn't "see" anything or returns an error, than something is wrong with your ndiswrapper driver setup.
also post the output of:
ndiswrapper -l
/sbin/lsmod
__________________
The answer to all of lifes questions are buried somewhere in the Google search engine.
Code:
[Stephen@localhost ~]$ whatis this?
this?: nothing appropriate
|

17th October 2007, 06:15 PM
|
|
Registered User
|
|
Join Date: Aug 2007
Posts: 12

|
|
Quote:
|
Originally Posted by Milkrunner
Code:
[root@localhost ~]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:13:46:CC:05:50
ESSID:"Boileau Network"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:39/100 Signal level:-71 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=50
Extra:atim=0
|
This is why I assume it's not ndiswrapper, but when I get a chance I'll try the other commands you've listed and post the output..
Yeah I noticed the ad-hoc thing; it seems to automatically set itself to Managed anyway..
Quote:
|
Originally Posted by Milkrunner
Code:
[root@localhost ~]# iwconfig wlan0 essid "Boileau Network"
[root@localhost ~]# iwconfig wlan0 commit
[root@localhost ~]# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"Boileau Network"
Mode:Managed Frequency:2.437 GHz Access Point: 00:13:46:CC:05:50
Bit Rate=54 Mb/s
Encryption key:0123-4567-89 Security mode:open
Power Management min timeout:0us mode:All packets received
Link Quality:45/100 Signal level:-67 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:10 Invalid misc:108 Missed beacon:0
|
I'm thinking that it has something to do with the route it's taking to get to the gateway, or the fact that it's a Windows network.
|

17th October 2007, 06:34 PM
|
 |
Registered User
|
|
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,762

|
|
|
Goto system ->administration ->network, Does your card show up? If it does highlight and click "edit" double check the settings, dns, and other settings....Also if you are going to use NetworkManager, disable the "activate on boot" option and enable "allow user enable/disable device". Reboot the computer and computer and left click the NM and see what happens...
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 13:19 (Monday, 20-05-2013)
|
|
 |
 |
 |
 |
|
|