LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 10-10-2006, 12:45 AM   #1
erat123
Member
 
Registered: Oct 2006
Distribution: Ubuntu
Posts: 69

Rep: Reputation: 16
ubuntu wireless card config...


hey all, i got a fun one this time. i am running ubuntu 6.06 dapper drake on a compaq presario 2100. I have a Linksys Wireless-G card. The model number is: WPC54G Ver. 3.

I have been looking at tutorials online for almost 3 weeks now, and I just can't figure out how to make this thing work. If I plug my ethernet cable into my laptop, the internet does work.

Right now, I can configure my eth0 and eth1 settings via /etc/iftab and /etc/network/interfaces.

so, here is the two files i know that control it:
------------------------
/etc/iftab:
# This file assigns persistent names to network interfaces.
# See iftab(5) for syntax.

eth0 mac 00:13:10:F7:66:6E arp 1
eth1 mac 00:0b:cd:55:f0:50 arp 1


/etc/network/interfaces:
auto lo
iface lo inet loopback

#auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

auto wlan0
iface wlan0 inet dhcp



and here is my ifconfig output:
eric@eric-laptop:~$ ifconfig
eth1 Link encap:Ethernet HWaddr 00:0B:CD:55:F0:50
inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20b:cdff:fe55:f050/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2287 errors:0 dropped:0 overruns:0 frame:0
TX packets:2256 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1758074 (1.6 MiB) TX bytes:560466 (547.3 KiB)
Interrupt:10 Base address:0xe000

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:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:472 (472.0 b) TX bytes:472 (472.0 b)


wire
and here's my iwconfig output:
eric@eric-laptop:~$ iwconfig
lo no wireless extensions.

eth1 no wireless extensions.

sit0 no wireless extensions.


i know iwconfig should have something in it. my wireless card does work under windows, so i know the card is good.

thanks for any help!
Eric
 
Old 10-17-2006, 02:53 PM   #2
jellyini
LQ Newbie
 
Registered: Oct 2006
Location: Albuquerque, NM
Distribution: Ubuntu 6.06.1
Posts: 14

Rep: Reputation: 0
Okay, seems you should check to see if ndiswrapper is installed,

"lsmod | grep ndiswrapper"
should return some thing like this:

ndiswrapper 177364 0
usbcore 130692 3 ndiswrapper,uhci_hcd

Then do

"ndiswrapper -l"
should return something like this:

Installed ndis drivers:
<your w32 driver> driver present, hardware present

-where <your w32 driver> is the <driver>.inf taken from the CD that came with the card. (According to the hardware compatability page here:

https://help.ubuntu.com/community/Wi...CardsSupported
)

(If you're not able to find ndiswrapper at this point...well, there are a lot of good how to's out there. Install ndiswrapper and driver, then see what happens.)

After that I can either do:

"ifdown -a"
"ifup -a"

or find/configure from 'Applications' menu (using Ubuntu /GNOME-flavored linux distro) using whatever network tools are available. Further problems have since been handled by diabling the interface, unplugging/replugging the card, and re-enabling the connection from task bar.

Hope this helps.

J
 
Old 10-18-2006, 12:36 AM   #3
erat123
Member
 
Registered: Oct 2006
Distribution: Ubuntu
Posts: 69

Original Poster
Rep: Reputation: 16
Thanks for the reply. I ran the commands you told me to run, and this is what it came up with. I noticed ifup -a returned something about eth0 not being able to come up.

eric@eric-laptop:~$ lsmod | grep ndiswrapper
ndiswrapper 177364 0
usbcore 130820 3 ndiswrapper,ohci_hcd

eric@eric-laptop:~$ ndiswrapper -l
Installed ndis drivers:
lsbcmds invalid driver!
lsbcmnds driver present

eric@eric-laptop:~$ ifdown -a
ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
eric@eric-laptop:~$ sudo ifdown -a
Password:
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth1/00:0b:cd:55:f0:50
Sending on LPF/eth1/00:0b:cd:55:f0:50
Sending on Socket/fallback
DHCPRELEASE on eth1 to 192.168.0.1 port 67
eric@eric-laptop:~$ sudo ifup -a
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth1/00:0b:cd:55:f0:50
Sending on LPF/eth1/00:0b:cd:55:f0:50
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.0.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.6 -- renewal in 42484 seconds.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up wlan0.
eric@eric-laptop:~$
 
Old 10-18-2006, 12:59 PM   #4
jellyini
LQ Newbie
 
Registered: Oct 2006
Location: Albuquerque, NM
Distribution: Ubuntu 6.06.1
Posts: 14

Rep: Reputation: 0
First problem I see with that; "ndiswrapper -l" should return 3 pieces of information: driver name, and the presence of BOTH the driver and the DEVICE!! Seems you don't have your card plugged in properly or something; it's missing the ever-important "hardware present". Linux should see the card like this:

>
>Installed ndis drivers:
>rt73 driver present, hardware present
>

This is where you lose me a bit. My card is a USB-type. There is a command to list the USB-connected devices, "lsusb". Not sure, but if you know/can find an analagous one for CardBus... At a guess, try "lspci" at the command line. Other places you can find if a device is seen at a basic level are in 'System'->'Administration'->'Device Manager'. You need to get the card physically recognized before going further.

Now second problem, you have two drivers installed. Simple, in terminal, type:

sudo ndiswrapper -e <driver>

where <driver> is the Win32 *.inf, MINUS the .inf part. For now take them both out.

Luck to ya. Get that card recognized, then you can get it online.

J
 
Old 10-18-2006, 02:05 PM   #5
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,056

Rep: Reputation: 94
http://www.broadcom.com/support/ethernet_nic/4401.php this is where you can download a native linux driver and compile it to work for your system. May have better luck doing so. never had much luck with ndiswrapper.
 
  


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
Wireless Card and Ubuntu reh_42 Linux - Hardware 4 05-15-2006 01:48 PM
Wireless Card Config Problem nikekakkar Suse/Novell 8 08-22-2005 03:12 PM
Wireless card Config sangs Mandriva 1 05-29-2005 09:38 PM
Wireless card config mendesb Linux - Wireless Networking 0 12-20-2004 08:02 PM
Wireless Card config crazy endian Linux - Newbie 14 10-01-2003 04:17 PM


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