LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-10-2005, 04:40 PM   #1
sheky
LQ Newbie
 
Registered: Nov 2005
Posts: 10

Rep: Reputation: 0
Question wireless troubles


i have a broadcom nic and i installed the driver:
//-----------------------------------------------------------------------------------------------------------------------
root@ubuntu:~# ndiswrapper -l
Installed ndis drivers:
bcmwl5a driver present, hardware present
//-----------------------------------------------------------------------------------------------------------------------
and the light turns on, i followed the ndiswrapper tutorial and i got it to scan around for AP's and it was able to find mine (named "sheky"):

//-----------------------------------------------------------------------------------------------------------------------
root@ubuntu:~# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"sheky"
Mode:Managed Frequency:2.437 GHz Access Point: 00:12:17:09F:37
Bit Rate:54 Mb/s Tx-Power:25 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption keyff
Power Managementff
Link Quality:100/100 Signal level:-38 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:2 Invalid misc:791 Missed beacon:0
//-----------------------------------------------------------------------------------------------------------------------
even when i scan:
//-----------------------------------------------------------------------------------------------------------------------
root@ubuntu:~# iwlist scanning
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

sit0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:12:17:09F:37
ESSID:"sheky"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-51 dBm Noise level:-256 dBm
Encryption keyff
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:54 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:48 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:0F:66:BB:13:64
ESSID:"59FIFTY"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-82 dBm Noise level:-256 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 03 - Address: 00:04:5A8:38:A9
ESSID:"deathmetal"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-80 dBm Noise level:-256 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 04 - Address: B2:B6:8E:30C:3A
ESSID:"C_335"
Protocol:IEEE 802.11b
Mode:Ad-Hoc
Frequency:2.462 GHz (Channel 11)
Quality:0/100 Signal level:-73 dBm Noise level:-256 dBm
Encryption keyff
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Extra:bcn_int=100
Extra:atim=0
//-----------------------------------------------------------------------------------------------------------------------
i don't use WEP i just have my router accept the MAC address of the NIC cards using ifconfig, it's 00:90:4B:93:AA:92 correct?

//-----------------------------------------------------------------------------------------------------------------------
wlan0 Link encap:Ethernet HWaddr 00:90:4B:93:AA:92
inet addr:155.33.152.215 Bcast:155.33.255.255 Mask:255.255.0.0
inet6 addr: fe80::290:4bff:fe93:aa92/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9145 (8.9 KiB) TX bytes:1028 (1.0 KiB)
Memory:d0200000-d0201fff
//-----------------------------------------------------------------------------------------------------------------------

but for some reason i just cant get the wireless to work. i activate it in System-->Administration-->Networking but it just won't work. Please help.
 
Old 11-10-2005, 04:52 PM   #2
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
what is the IP/netmask of your AP ?
 
Old 11-10-2005, 05:05 PM   #3
sheky
LQ Newbie
 
Registered: Nov 2005
Posts: 10

Original Poster
Rep: Reputation: 0
local ip:192.168.1.1
subnet mask: 255.255.255.0
 
Old 11-10-2005, 05:10 PM   #4
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
to communicate each other, they must be on the same network.
reconfigure your wiereless card :
ifconfig wlan0 down
ifconfig wlan0 192.168.1.2 netmask 255.255.255.0 up
this to begin, after when you understand how it work, try other thing
 
Old 11-10-2005, 05:48 PM   #5
sheky
LQ Newbie
 
Registered: Nov 2005
Posts: 10

Original Poster
Rep: Reputation: 0
tried that, still didnt work, any other suggestions?
 
Old 11-10-2005, 05:51 PM   #6
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
note i say you ifconfig, not iwconfig !!
 
Old 11-10-2005, 08:45 PM   #7
ShakingSpirit
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
I know this was a problem for the bcmwl5 drivers, and might effect the bcmwl5a too ^_^

Run 'sudo gedit /etc/ndiswrapper/bcmwl5a/*.conf', and replace every instance in every file of 'RadioState|1' with 'RadioState|0'

From 'breazy', you shouldn't need to play with ifconfig; the gnome network options works fine

Last edited by ShakingSpirit; 11-10-2005 at 08:48 PM.
 
Old 11-10-2005, 09:10 PM   #8
sheky
LQ Newbie
 
Registered: Nov 2005
Posts: 10

Original Poster
Rep: Reputation: 0
all the files already had RadioState|O.

if this helps at all, my wireless IS sending packets just not many at all like its received 233 and sent 79 since i've been logged on (an hour). AND the wireless strength is 100%. So I know it SEES the router, just the two arent communicating.
 
Old 11-11-2005, 06:41 AM   #9
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
are you configuring correctely the route :
route add default gw 192.168.1.1
route add 192.168.1.0 gw 192.168.1.2
 
Old 11-11-2005, 01:32 PM   #10
sheky
LQ Newbie
 
Registered: Nov 2005
Posts: 10

Original Poster
Rep: Reputation: 0
I had to add this one:
route add 192.168.1.0 gw 192.168.1.2
but still my router is only receiving a few packets. i feel as if im missing a very simple step, can you just run by me all the commands to do after i see the light on my NIC go on.


//-----------------------------------------------------------------------------------------------------------------------
root@ubuntu:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 192.168.1.2 255.255.255.255 UGH 0 0 0 wlan0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
//-----------------------------------------------------------------------------------------------------------------------
 
Old 11-11-2005, 04:41 PM   #11
sheky
LQ Newbie
 
Registered: Nov 2005
Posts: 10

Original Poster
Rep: Reputation: 0
perhaps i need to download some package off Synaptic?
 
Old 11-12-2005, 12:53 PM   #12
crazibri
Member
 
Registered: Mar 2004
Location: Orange County, CA
Distribution: OS X, SuSE, RH, Debian, XP
Posts: 377

Rep: Reputation: 31
Out of all this, I can see you're getting an IP assigned to you through DHCP. I would suggest a ping to your router IP address and perhaps a ping to another computer connected to your router. If that all goes well, try to ping www.google.com. If you dont get a reply, then its a problem with your DNS registration. I would check your network services to make sure you are obtaining the DNS server IPs when you get your IP from your router. I had that issue once before.

Using these troubleshooting tips should help you narrow down your problem.
 
Old 11-12-2005, 04:50 PM   #13
sheky
LQ Newbie
 
Registered: Nov 2005
Posts: 10

Original Poster
Rep: Reputation: 0
iwconfig after nic light goes on
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
root@ubuntu:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"sheky"
Mode:Managed Frequency:2.437 GHz Access Point: 00:12:17:09F:37
Bit Rate:54 Mb/s Tx-Power:25 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption keyff
Power Managementff
Link Quality:100/100 Signal level:-38 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:35 Missed beacon:0
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

dhclient wlan0


//-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
root@ubuntu:~# dhclient wlan0
There is already a pid file /var/run/dhclient.pid with pid 14070
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:90:4b:93:aa:92
Sending on LPF/wlan0/00:90:4b:93:aa:92
Sending on Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.101 -- renewal in 35962 seconds.

//-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ping'ing 192.168.1.1 (router)


//-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
root@ubuntu:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.100 icmp_seq=1 Destination Host Unreachable
From 192.168.1.100 icmp_seq=2 Destination Host Unreachable
From 192.168.1.100 icmp_seq=3 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
22 packets transmitted, 0 received, +15 errors, 100% packet loss, time 21010ms
, pipe 3

//-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

route

//-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
root@ubuntu:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
155.33.0.0 * 255.255.0.0 U 0 0 0 wlan0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Last edited by sheky; 11-12-2005 at 04:56 PM.
 
  


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
More wireless troubles.... DirtyDan Linux - Wireless Networking 1 04-05-2005 11:43 PM
wireless troubles... FireDemon666 Linux - Wireless Networking 2 11-29-2004 06:33 AM
Awfully confused by wireless troubles UtterMWest Linux - Wireless Networking 2 05-26-2004 01:34 PM
Wireless troubles – Help… ninja_scroll Linux - Wireless Networking 10 02-18-2004 07:45 AM
Orinoco Wireless Troubles bpasdar Linux - Wireless Networking 0 07-07-2003 10:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:15 PM.

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