LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-17-2004, 07:23 PM   #1
Tecra
LQ Newbie
 
Registered: Sep 2004
Location: Frisco Bay Area
Distribution: slackware 10
Posts: 3

Rep: Reputation: 0
ndiswrapper help? .......anyone


what up
here, running slackware 10 on a compaq presario 2500 lappy with a broadcom 94306 inetegrated wifi chipset. i have successfully installed ndiswrapper and wlan0 see's the ap. i dont think wlan0 is routed correctly, meaning wlan0 doesn't have correct ip (192.168.0.8) nor does it have correct gateway (192.168.0.1). here is as much info as i can provide:
LSPCI
00:00.0 Host bridge: ATI Technologies Inc: Unknown device cbb2 (rev 02)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M]
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
00:08.0 Modem: ALi Corporation Intel 537 [M5457 AC-Link Modem]
00:09.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 02)
00:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
00:0b.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 50)
00:0b.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 50)
00:0b.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:11.0 Bridge: ALi Corporation M7101 PMU
00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 340M

=======================================================
IWCONFIG
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"TECRA"
Mode:Managed Frequency:2.462GHz Access Point: 00:09:5B:6F:BF:22
Bit Rate:11Mb/s Tx-Power:13 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:8476-7F74-55 Security modepen
Power Managementff
Link Quality:100/100 Signal level:-40 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:1729 Missed beacon:0

=======================================================
IFCONFIG
eth0 Link encap:Ethernet HWaddr 00:0E:7F:74:F1:93
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9523 errors:0 dropped:0 overruns:0 frame:0
TX packets:8911 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7372207 (7.0 Mb) TX bytes:1021258 (997.3 Kb)
Interrupt:10 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

wlan0 Link encap:Ethernet HWaddr 00:90:4B:49:8A:C3
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21848 (21.3 Kb) TX bytes:0 (0.0 b)
Interrupt:10 Memory:d4002000-d4003fff

=======================================================
any ideas are greatly appreciated
 
Old 10-17-2004, 08:17 PM   #2
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
Your wlan0 device doesn't have an ip address and netmask set.
Code:
 /sbin/ifconfig wlan0 x.x.x.x broadcast y.y.y.y netmask z.z.z.z
example: 
 /sbin/ifconfig wlan0 192.168.1.2 broadcast 192.168.1.255 netmask 255.255.255.0
Perhaps you will have to set a route and a gateway too, same example (gateway will be 192.168.1.1) :
Code:
/sbin/route add default gw 192.168.1.1 metric 1
Don't know how Slackware handles wireless, because I don't use wireless devices . But basicly what I see is your wlan0 device lacks an ip address.

Last edited by rotvogel; 10-17-2004 at 08:21 PM.
 
Old 10-18-2004, 07:03 AM   #3
ratcheson
LQ Newbie
 
Registered: Jul 2004
Location: Texas
Distribution: suse9.3
Posts: 18

Rep: Reputation: 0
Try this.

ifconfig eth0 down
ifconfig wlan0 up

then do:
dhcpcd wlan0

then do:
ifconfig
and see if wlan0 now has the ip.

EXP. Your machine is doing its thing and setting up the first ethernet device it sees which is apparently eth0 which apparently has an ethernet cable plugged in. The commands above will shutdown eht0 and fireup wlan0. dhcpcd will look for an ip for wlan0.

If all that works then the challenge becomes making wlan0 the default. I solved that by disabling eth0 via SuSE's YAST. You must have the equivalent in your distro. I'm not familiar with your distro, therefore I cant help on that problem.
richard
 
Old 10-18-2004, 04:26 PM   #4
Tecra
LQ Newbie
 
Registered: Sep 2004
Location: Frisco Bay Area
Distribution: slackware 10
Posts: 3

Original Poster
Rep: Reputation: 0
what up
thanx for the help guys but still no wifi for me..... =(
rotvogel, i did a lot of what u suggested and that allowed me to bind the correct ip,mask,broadcast to wlan0. i'm not sure if i setup the route correctly? please take a look:
root@CMPQP2500:/home/tecra# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0E:7F:74:F1:93
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1259 errors:0 dropped:0 overruns:0 frame:0
TX packets:1460 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:653864 (638.5 Kb) TX bytes:166014 (162.1 Kb)
Interrupt:10 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1057 (1.0 Kb) TX bytes:1057 (1.0 Kb)

wlan0 Link encap:Ethernet HWaddr 00:90:4B:49:8A:C3
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4538 (4.4 Kb) TX bytes:0 (0.0 b)
Interrupt:10 Memory:d4002000-d4003fff

root@CMPQP2500:/home/tecra# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"TECRA"
Mode:Managed Frequency:2.462GHz Access Point: 00:09:5B:6F:BF:22
Bit Rate:11Mb/s Tx-Power:13 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:8476-7F74-55 Security mode:open
Power Management:off
Link Quality:100/100 Signal level:-31 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:2204 Missed beacon:0
 
Old 10-18-2004, 04:38 PM   #5
Tecra
LQ Newbie
 
Registered: Sep 2004
Location: Frisco Bay Area
Distribution: slackware 10
Posts: 3

Original Poster
Rep: Reputation: 0
here is routing table if it helps:
root@CMPQP2500:/home/tecra# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
localnet * 255.255.255.0 U 0 0 0 wlan0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
default 192.168.0.254 0.0.0.0 UG 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 1 0 0 eth0
 
  


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
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work! Benjamin Linux - Wireless Networking 30 05-25-2008 07:04 AM
ndiswrapper ms-x Linux - Software 5 08-11-2005 01:19 PM
ndiswrapper? heineken Mandriva 1 07-31-2005 05:01 PM
Ndiswrapper rmdnet Linux - Software 1 12-21-2004 02:48 PM
ndiswrapper in FC 2? blcvegas Fedora 4 06-06-2004 12:41 AM

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

All times are GMT -5. The time now is 11:08 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