DevNetwork Forums

The Developer's Network
It is currently Mon Feb 08, 2010 10:17 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Trouble with wireless on Ubuntu
PostPosted: Mon Jan 08, 2007 11:16 pm 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6357
Location: Chico, CA
I'm getting this error when I click on the network monitor (the icon in the upper right) in Ubuntu 6.10 (Edgy).
Quote:
SIOCGIFFLAGS error: No such device

Anybody familiar with it?

anyway... I'm wondering if it's possible to start wlan0 manually... without that monitor. Isn't it?

_________________
My Personal Blog :: My Resume
Clever got me this far... then tricky got me in
Luke Visinoni luke d0t visinoni at gmail d0t com


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 09, 2007 12:01 am 
Offline
DevNet Resident

Joined: Thu Mar 10, 2005 6:27 pm
Posts: 1035
Location: Southern Ontario
What wireless chip is being used?

And if it's not supported by linux (quite a lot aren't if memory serves) do a search on the ubuntu forums for 'ndiswrapper', it uses the standard windows drivers to provide "support" under linux... You won't get any of the better features such as the ability to use any of the wireless scanning tools (think airsnort, kismet, etc).

Another possible resource would be linux-wireless.com, though I've never used it, as I've always used ndiswrapper without problems (until now, 6.06 wouldn't work with the method I was using [or I was forgetting a step], and since I rarely if ever use wireless, I haven't bothered to fix things :))

_________________
Web Developer
Based in Southern Ontario, Canada
View My Portfolio


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 09, 2007 12:13 am 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6357
Location: Chico, CA
Intel Pro Wireless 2200 which according to this:
http://www.debuntu.org/2006/03/27/9-how ... omment-285

has been supported since 6.06 (or possibly earlier)

_________________
My Personal Blog :: My Resume
Clever got me this far... then tricky got me in
Luke Visinoni luke d0t visinoni at gmail d0t com


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 09, 2007 9:04 am 
Offline
DevNet Evangelist
User avatar

Joined: Tue May 07, 2002 9:48 am
Posts: 8390
Location: Berlin, ger
preface: I'm not familiar with ubuntu

Let's make sure a driver for your wireless device has been loaded[syntax="bash"]dmesg | grep ipw[/syntax]Does this print something like
Quote:
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.2k
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Radio Frequency Kill Switch is On:
ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.11a channels)

what about[syntax="bash"]lsmod | grep ipw[/syntax]

Is there a file /proc/net/wireless? If there is what does it contain[syntax="bash"]cat /proc/net/eth1[/syntax]
Quote:
Inter-| sta-| Quality | Discarded packets | Missed | WE
face | tus | link level noise | nwid crypt frag retry misc | beacon | 20
eth1: 0000 0. 0. 0. 0 0 0 0 0 0
(yepp, the radio kill switch IS on ;))

Just out of curiosity: Does ubuntu ship with the program ethtool?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 09, 2007 11:45 am 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6357
Location: Chico, CA
[syntax="bash"]dmesg | grep ipw[/syntax]
Gave me these results:
Quote:
Intel(R) Copyright(c) 2003-2006 Intel Corperation
Driver 'ipw2200' needs updating - please use bus_type methods
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.1 la channels)

So I guess I need to update the driver...

Quote:
Is there a file /proc/net/wireless? If there is what does it contain

There isn't one

_________________
My Personal Blog :: My Resume
Clever got me this far... then tricky got me in
Luke Visinoni luke d0t visinoni at gmail d0t com


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 09, 2007 1:36 pm 
Offline
DevNet Evangelist
User avatar

Joined: Tue May 07, 2002 9:48 am
Posts: 8390
Location: Berlin, ger
Did you do something to get this ipw2200 driver or is it the one ubuntu 6.10 installs?
Did you update your kernel (/sources)? If yes, exactly what did you do?
I'm just wondering because Ubuntu 6.10 uses kernel 2.6.17 and message Driver '%s' needs updating - please use bus_type methods already exists in 2.6.16, see http://www.linuxhq.com/kernel/v2.6/16/d ... e/driver.c and http://lkml.org/lkml/2006/1/5/151. How old is this ipw2200 driver?

What's the output of[syntax="bash"]uname -a[/syntax]
[syntax="bash"]lsmod | grep ipw[/syntax]
[syntax="bash"]modinfo ipw2200[/syntax]
[syntax="bash"]cat /proc/net/dev[/syntax]
[syntax="bash"]ethtool eth0[/syntax]
(please post the output of each command, even if it throws an error)

It's likely you'll get faster and better results if you ask in a ubuntu specific forum.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 10, 2007 4:15 pm 
Offline
DevNet Evangelist
User avatar

Joined: Tue May 07, 2002 9:48 am
Posts: 8390
Location: Berlin, ger
Just curious, problem solved?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 10, 2007 4:27 pm 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6357
Location: Chico, CA
haven't had a chance to mess with it yet. I will post here when I do. Thanks volka. :)

_________________
My Personal Blog :: My Resume
Clever got me this far... then tricky got me in
Luke Visinoni luke d0t visinoni at gmail d0t com


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 11:02 pm 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6357
Location: Chico, CA
volka wrote:
Did you do something to get this ipw2200 driver or is it the one ubuntu 6.10 installs?
Did you update your kernel (/sources)? If yes, exactly what did you do?
I'm just wondering because Ubuntu 6.10 uses kernel 2.6.17 and message Driver '%s' needs updating - please use bus_type methods already exists in 2.6.16, see http://www.linuxhq.com/kernel/v2.6/16/d ... e/driver.c and http://lkml.org/lkml/2006/1/5/151. How old is this ipw2200 driver?

I followed this tutorial and then realized the drivers are included out of the box... my comment is half way down the comments titled "oops" and I tried what was suggested to me (from an admin I think) and it didn't work. (said files didn't exist I think)

volka wrote:
What's the output of[syntax="bash"]uname -a[/syntax]

[syntax="bash"]Linux luke-laptop 2.6.17-10-386 #2 Tue Dec 5 22:26:18 UTC 2006 i686 GNU/Linux[/syntax]

volka wrote:
[syntax="bash"]lsmod | grep ipw[/syntax]

nothing happened
volka wrote:
[syntax="bash"]modinfo ipw2200[/syntax]

[syntax="bash"]filename: /lib/modules/2.6.17-10-386/kernel/drivers/net/wireless/ipw2200.ko
description: Intel(R) PRO/Wireless 2200/2915 Network Driver
version: 1.1.2kmprq
author: Copyright(c) 2003-2006 Intel Corporation
license: GPL
vermagic: 2.6.17-10-386 mod_unload 486 REGPARM gcc-4.1
depends: ieee80211
alias: pci:v00008086d00001043sv00008086sd00002701bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002702bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002711bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002712bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002721bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002722bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002731bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002732bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002741bc*sc*i*
alias: pci:v00008086d00001043sv0000103Csd00002741bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002742bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002751bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002752bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002753bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002754bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002761bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002762bc*sc*i*
alias: pci:v00008086d0000104Fsv*sd*bc*sc*i*
alias: pci:v00008086d00004220sv*sd*bc*sc*i*
alias: pci:v00008086d00004221sv*sd*bc*sc*i*
alias: pci:v00008086d00004223sv*sd*bc*sc*i*
alias: pci:v00008086d00004224sv*sd*bc*sc*i*
srcversion: 21E4CB2BA3BD779BFD7FC01
parm: antenna:select antenna 1=Main, 3=Aux, default 0 [both], 2=slow_diversity (choose the one with lower background noise) (int)
parm: roaming:enable roaming support (default on) (int)
parm: cmdlog:allocate a ring buffer for logging firmware commands (int)
parm: hwcrypto:enable hardware crypto (default off) (int)
parm: bt_coexist:enable bluetooth coexistence (default off) (int)
parm: mode:network mode (0=BSS,1=IBSS,2=Monitor) (int)
parm: burst_duration_OFDM:set OFDM burst value (int)
parm: burst_duration_CCK:set CCK burst value (int)
parm: qos_no_ack_mask:mask Tx_Queue to no ack (int)
parm: qos_burst_enable:enable QoS burst mode (int)
parm: qos_enable:enable all QoS functionalitis (int)
parm: rtap_iface:create the rtap interface (1 - create, default 0) (int)
parm: channel:channel to limit associate to (default 0 [ANY]) (int)
parm: led:enable led control on some systems (default 0 off)
(int)
parm: auto_create:auto create adhoc network (default on) (int)
parm: associate:auto associate when scanning (default on) (int)
parm: disable:manually disable the radio (default 0 [radio on]) (int)[/syntax]

volka wrote:
[syntax="bash"]cat /proc/net/dev[/syntax]

[syntax="bash"]Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 8243 40 0 0 0 0 0 0 8243 40 0 0 0 0 0 0
eth0:15353838 14897 0 0 0 0 0 0 2162763 11611 0 0 0 0 0 0
eth1: 0 426 0 0 0 0 0 0 0 27262 0 0 0 0 1 0
sit0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0[/syntax]

volka wrote:
[syntax="bash"]ethtool eth0[/syntax]

[syntax="bash"]Settings for eth0:
Cannot get device settings: Operation not permitted
Cannot get wake-on-lan settings: Operation not permitted
Cannot get message level: Operation not permitted
Cannot get link status: Operation not permitted
No data available
[/syntax]
volka wrote:
It's likely you'll get faster and better results if you ask in a ubuntu specific forum.

I did. I didn't get an answer.

_________________
My Personal Blog :: My Resume
Clever got me this far... then tricky got me in
Luke Visinoni luke d0t visinoni at gmail d0t com


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 11:16 pm 
Offline
DevNet Resident
User avatar

Joined: Tue Jan 20, 2004 5:58 pm
Posts: 1538
Location: Minnesota
Wireless connections on Linux are unfortunately still a big PITA. :(

_________________
Image
My Website. | Goop | Sunbeamers


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 11:53 pm 
Offline
DevNet Master
User avatar

Joined: Wed Dec 06, 2006 5:14 pm
Posts: 3598
Location: Toronto, Canada
I don't mean to be unhelpful, but have you tried:
http://ubuntuforums.org/showthread.php?t=309041
?

Also, check [syntax="bash"]sudo iwconfig

sudo lshw -C network[/syntax]

_________________
My name is Kieran... and I heart jQuery and this real-time regex evaluator // DevNet Awards '07/08: Funniest /*looking*/ // 基兰既不说话也不写着中文
Image


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 1:30 am 
Offline
DevNet Evangelist
User avatar

Joined: Tue May 07, 2002 9:48 am
Posts: 8390
Location: Berlin, ger
oops, forgot the sudo part when writing the commands because I'm lazy and usually do a su *cough*
So that would be[syntax="bash"]sudo lsmod | grep ipw[/syntax]and so on. But it doesn't matter that much.
In the meantime I've installed ubuntu 6.10 on my notebook and - The Ninja Space Goat surely doesn't want to read this - the wireless works without a problem.
Take a look at System->Administration->Network. Is there at least one adapter checked?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 1:50 am 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6357
Location: Chico, CA
I'm going to start over with a fresh install of Ubuntu. I think I may have made problems for myself from the get-go because I don't know what I'm doing. I'm about to buy this book:
http://www.amazon.com/Ubuntu-Unleashed- ... F8&s=books

If anybody knows of a better one, let me know.

Hopefully the book will get me up to speed so I'm not just typing voodoo commands into the terminal

_________________
My Personal Blog :: My Resume
Clever got me this far... then tricky got me in
Luke Visinoni luke d0t visinoni at gmail d0t com


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 2:18 am 
Offline
DevNet Evangelist
User avatar

Joined: Tue May 07, 2002 9:48 am
Posts: 8390
Location: Berlin, ger
hm, maybe I should have installed the english language package ...well, anyway.

Played around for about two hours now with ubuntu and must say I like it. It had a better start than fedora or opensuse on my notebook and it is -of course- much easier to install than gentoo ;)



In the synaptic package managment (hopefully the translation has anything to do with the "real english" label at all) there is a menu settings->package source. If you enable the "universe" repository and then reload the package list you can install wifi-radar. That's my favorite application to find and bind to a wireless network (though it still has some flaws).

[syntax="bash"]sudo lspci | grep controller[/syntax]gives me
Quote:
02:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
02:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
and both adapters were automagically configured.

I definitly have to take a closer look at the font settings of ubuntu. They are the best I've seen so far for the notebook. And X works (so far) absolutely smooth with the radeon driver - I didn't manage that and had to use the closed-source driver.

There's a openbook about Ubuntu. Unfortunately for you it's in german. http://www.galileocomputing.de/openbook/ubuntu/
The download link doesn't work for me but that's maybe because some more popular sites recently had reports about this new release and the site is "DDoSed" ;)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 2:26 am 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6357
Location: Chico, CA
I noticed the fonts being really crisp and clean as well. I'm on a Dell Inspiron 600m notebook. I'm pretty happy with Ubuntu other than the wireless issues. Anyway... I'm about to reinstall right now. I'll let you know how it goes.

_________________
My Personal Blog :: My Resume
Clever got me this far... then tricky got me in
Luke Visinoni luke d0t visinoni at gmail d0t com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group