LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-22-2003, 07:17 PM   #16
DustOffTryAgain
Member
 
Registered: Jul 2003
Location: Somewhere
Distribution: Suse 8.2
Posts: 30

Rep: Reputation: 15

Okay, I've added my router to the hosts file.

I'm guessing I do have dhcpcd, as there is a file called dhcpcd in /sbin. I typed in those commands (with 192.168.254.254), still not able to ping if i pull out the ethernet cable.

The ethernet port works great, it has been connecting regardless of which router I plug it into without any configuration. wlan0 on the other hand.... Is it because i added that inet addr:192.168.254.5? I added it when i was dicking around before... I cannot ping my ap unless i have the ethernet cable attached to it. Maybe I'm hopeless ;0



wlan0 Link encap:Ethernet HWaddr 00:06:25:AA:9B:A9
inet addr:192.168.254.5 Bcast:192.168.254.255 Mask:255.255.255.0
inet6 addr: fe80::206:25ff:feaa:9ba9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1291 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:421739 (411.8 Kb) TX bytes:424 (424.0 b)


Last edited by DustOffTryAgain; 07-22-2003 at 07:34 PM.
 
Old 07-22-2003, 08:18 PM   #17
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Whew...

The problem with SuSe is that they gave you the linux-wlan.net drivers for the prism2 series card, but no real helpful way of configuring them.

The prism2_cs module does work with all three iterations of the Intersil/prism2 chipset, they're more or less the same, the 2,2.5 and 3.

The prism2_cs module and all of the rest of the goop from the linux-wlan project doesn't work properly with "iwconfig" and the rest of the cool wireless tools package. At least, not the version that shipped with SuSe 8.2, they keep flip flopping on whether to actually comply with the API.

I think the proper settings are applied by editing /etc/wlan/wlan.conf, hopefully you've got that file... and then re-starting pcmcia. If not, the instructions should be in that directory.

OR

There are 2 other module sets for the prism2 series cards. There's the orinoco module, which you can download here:

http://ozlabs.org/people/dgibson/dldwd/

You'll probably need .13e, the version you actually have onboard is .11b, which had a lot of bugs that cause the signal to bog down and the module to croak on prism3 series cards under load. It still happens with .13e, but evidently only after about 6-7 hours or so of straight download... you can poke through the mailing list at sourceforge if you are curious.

To get this kid to work, download the source package and make certain your kernel source is installed. then just build it with a:

make
make install

Might also want to run a "depmod -a", I don't remember if the make install does that...

That'll also put a copy of hermes.conf (with an entry for the WPC11 v3) in /etc/pcmcia where cardmgr will read it.

Now, you'll probably have to edit out where SuSe put the modprobe load command for the WPC11 in some other /etc/pcmcia .conf file. Hoepfully they just left it at the www.linux-wlan.net module's default and there's a file in there called wlan-ng.conf. If there is, just move the file and hard restart pcmcia with:

/etc/rc.d/init.d/pcmcia restart

If not, they hand added the entry to: /etc/pcmcia/config

Just search through that monster for the WPC11 entry that's a lot like your output from:

/sbin/cardctl ident

and comment it out.

OR, the third driver set, for the bold, that allows a WPC11 to act as an access point:

http://hostap.epitest.fi/

It also works with Infrastructure and Managed too, rather well.

The hostAP modules and the orinoco modules both pay attention to the kernel API and thus work normally under iwconfig and its buddies.

Cheers,

Finegan
 
Old 07-23-2003, 10:54 AM   #18
zvandiver
Member
 
Registered: Jul 2003
Distribution: Kubuntu
Posts: 83

Rep: Reputation: 15
I don't know if this will work for the Linksys card, but it did work for my Netgear MA401RA.
In YAST, I set up the card as wireless, but not pcmcia. YAST configured it as eth1.
Follow the instructions in the SuSE article http://sdb.suse.de/en/sdb/html/wavelan.html.
This is my /etc/sysconfig/network/ifcfg-eth1 file:
BOOTPROTO='dhcp'
DHCLIENT_SET_DOWN_LINK='yes'
MTU=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
UNIQUE=''
WIRELESS='yes'
WIRELESS_ESSID='mynet'
WIRELESS_KEY=''
WIRELESS_MODE='managed'
WIRELESS_NICK='Prism I'
WIRELESS_NWID=''
CHANNEL='1'
The hotplug option prevents the system from trying to initialize the eth1 connection before the pcmcia service is started.
After booting up, I issue the following commands as root:
ifconfig eth1 up
dhcpcd eth1
Everything works at that point.
I hope this will help with your problem. I agree that SuSE makes this much too complicated and esoteric.
I want to thank mnain from this forum and Ralph Sanford from the suse-linux-e mailing list for all of their help.
Zane
 
Old 07-23-2003, 05:04 PM   #19
DustOffTryAgain
Member
 
Registered: Jul 2003
Location: Somewhere
Distribution: Suse 8.2
Posts: 30

Rep: Reputation: 15
Finegan, thanks for the comprehensive reply. I installed hostap, still no beans. I'm not sure exactly why. Let me know what you need to see in order to figure out what's going on if you're still interested in getting this beast working.

Zvan, thank you for your reply, too. I'd rather not have to type something in every time I boot. If it comes down to that, it will be the last straw and I'll be going to debian ;0
 
Old 07-23-2003, 05:08 PM   #20
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Hmmm... first, with host_ap, make certain its loading that module and not the prism2_cs module, what do you get from the output of /sbin/lspci with the card in there? Also, what kind of settings does your wlan have? Remember, the hostap module starts in hostap mode, so that's the first thing to change. Usually something like this will do it:

ifconfig wlan0 up
iwconfig wlan0 mode managed
iwconfig wlan0 essid whatever
dhcpcd wlan0

Cheers,

Finegan
 
Old 07-23-2003, 05:18 PM   #21
DustOffTryAgain
Member
 
Registered: Jul 2003
Location: Somewhere
Distribution: Suse 8.2
Posts: 30

Rep: Reputation: 15
Output from /sbin/lspci:

00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corp. 82815 815 Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 03)
00:1f.0 ISA bridge: Intel Corp. 82801BAM ISA Bridge (LPC) (rev 03)
00:1f.1 IDE interface: Intel Corp. 82801BAM IDE U100 (rev 03)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
02:03.0 Multimedia audio controller: ESS Technology ES1983S Maestro-3i PCI Audio Accelerator (rev 10)
02:06.0 Ethernet controller: 3Com Corporation 3c556 Hurricane CardBus (rev 10)
02:06.1 Communication controller: 3Com Corporation Mini PCI 56k Winmodem (rev 10)
02:0f.0 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller
02:0f.1 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller
02:0f.2 FireWire (IEEE 1394): Texas Instruments PCI4451 IEEE-1394 Controller

When i hit iwconfig wlan0 mode managed I got:

linux:/home/SomeGuy/Desktop/hostap-0.0.3 # iwconfig wlan0 mode managed
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Function not implemented.
 
Old 07-23-2003, 05:24 PM   #22
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Uhhhh, my apologies, I had an idiot attack, /sbin/lsmod to get the list of loaded modules.... der... Radeon Mobility M7 7500, daaaaaamn, nice laptop!

From the "iwconfig" error, it looks like you're still loading the prism2_cs module though. Check through /etc/pcmcia to see if you have a file named wlan-ng.conf and if so just move it out of the directory. If not, edit /etc/pcmcia/config and find the entry for the WPC and edit it out with "#". Then hard restart pcmcia with:

/etc/rc.d/init.d/pcmcia restart

Cheers,

Finegan
 
Old 07-23-2003, 05:40 PM   #23
DustOffTryAgain
Member
 
Registered: Jul 2003
Location: Somewhere
Distribution: Suse 8.2
Posts: 30

Rep: Reputation: 15
Don't worry about it, I'm a constant series of idiot attacks. I only paid 1500 for this thing, it's a dell 8100. Didn't splurge on anything but the video card and display, because I figured their the only bits that don't go out of date 5 seconds after you pay for the damn thing.

I got rid of wlan-ng.conf, sorry about that, I misunderstsood your previous post on that matter.

When I tried the hard restart I got "no such file or directory". Chances are stupid suse moved that file to some other directory, just like they do everything else. (the .config file isn't in /usr/src/linux by default either). I'm getting irritated enough with suse that I'm giving honest consideration to moving over to debian.
 
Old 07-23-2003, 05:41 PM   #24
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Heck, a reboot will do the same thing or, since I like to cheat my way to big uptime: init 1 && init 5

Cheers,

Finegan
 
Old 07-23-2003, 05:49 PM   #25
DustOffTryAgain
Member
 
Registered: Jul 2003
Location: Somewhere
Distribution: Suse 8.2
Posts: 30

Rep: Reputation: 15
While you were typing that I was watching the verbose boot. Noticed that eth0 grabbed an IP from the route. The PC speaker beeped twice when it was loading pcmcia, I don't know if that means anything.

I did the ifconfig/iwconfig stuff mentioned above. Still can't ping from the wireless card. I'm probably forgetting something ;0

By the way:

hostap_cs 47804 1
hostap 67396 0 [hostap_cs]
hostap_crypt 1200 0 [hostap]
ds 6604 2 [hostap_cs]

That much worked

Last edited by DustOffTryAgain; 07-23-2003 at 05:52 PM.
 
Old 07-23-2003, 05:55 PM   #26
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Okay, well the module is loaded, is this a wide open wireless network? If you need to assign a key:

iwconfig wlan0 enc 1234567890

right after setting the card's essid.

Heck, what's the whole output of iwconfig and ifconfig?

Cheers,

Finegan
 
Old 07-23-2003, 06:59 PM   #27
DustOffTryAgain
Member
 
Registered: Jul 2003
Location: Somewhere
Distribution: Suse 8.2
Posts: 30

Rep: Reputation: 15
I turned WEP off on the AP, but thanks for that because I do want to turn it back on, even if the security it provides is only for looks ;)

While I was playing around with the router, I noticed that it DOES see the laptop's wirelesss card. I wonder why I can't ping from the laptop to the router?

Also, I thought I should make it clear that I am connecting to the internet on this computer through eth0, which is a cable run directly to the switch side of the wireless router. I am testing the wireless card by pulling out the network cable and seeing if I can ping.



linux:/home/SomeGuy # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

wlan0 IEEE 802.11b ESSID:"Over Here"
Mode:Master Frequency:2.422GHz Access Point: 00:06:25:AA:9B:A9
Bit Rate:11Mb/s Tx-Power:-18 dBm Sensitivity=1/3
Retry min limit:8 RTS thr:off Fragment thr:off
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





linux:/home/SomeGuy # ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:76:50:C0:67
inet addr:192.168.254.4 Bcast:192.168.254.255 Mask:255.255.255.0
inet6 addr: fe80::204:76ff:fe50:c067/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9216 errors:0 dropped:0 overruns:0 frame:0
TX packets:8237 errors:0 dropped:0 overruns:0 carrier:1
collisions:0
RX bytes:1835317 (1.7 Mb) TX bytes:987930 (964.7 Kb)

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:58 errors:0 dropped:0 overruns:0 frame:0
TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:3508 (3.4 Kb) TX bytes:3508 (3.4 Kb)

Last edited by DustOffTryAgain; 07-23-2003 at 07:49 PM.
 
Old 07-23-2003, 07:32 PM   #28
Kevin Edmonds
LQ Newbie
 
Registered: Jul 2003
Location: Kansas City
Distribution: SuSE, Mandrake
Posts: 16

Original Poster
Rep: Reputation: 0
Better late than never

Sorry I haven't posted lately (I really do need your alls help) I just had a crisis at work (whoever at my office that thought it was a good idea for to install sixteen wireless microphones in one should have his head examined [can you say RF nightmare] ) that kept me from completing previous suggestions.

I reinstalled SuSE from scratch because I could not remember everything that I changed but the new output looks promising.

linux:~ # lsmod
Module Size Used by Not tainted
prism2_cs 63324 1
orinoco_cs 4436 0 (unused)
orinoco 31188 0 [orinoco_cs]
hermes 5924 0 [orinoco_cs orinoco]
isa-pnp 29672 0 (unused)
p80211 15860 1 [prism2_cs]
ds 6604 4 [prism2_cs orinoco_cs]
yenta_socket 9760 2
pcmcia_core 41824 0 [prism2_cs orinoco_cs ds yenta_socket]
joydev 5632 0 (unused)
evdev 4032 0 (unused)
mousedev 4148 1
videodev 5600 0 (autoclean)
parport_pc 25800 0
parport 22440 0 [parport_pc]
ipv6 134388 -1 (autoclean)
ide-cd 29404 0 (autoclean)
cdrom 28192 0 (autoclean) [ide-cd]
keybdev 1996 0 (unused)
hid 18308 0 (unused)
input 3104 0 [joydev evdev mousedev keybdev hid]
usb-uhci 22096 0 (unused)
usbcore 57836 1 [hid usb-uhci]
raw1394 14516 0 (unused)
ieee1394 32880 0 [raw1394]
nls_iso8859-1 2812 1 (autoclean)
ntfs 75244 1 (autoclean)
reiserfs 200532 1


linux:~ # iwconfig wlan0
wlan0 IEEE 802.11-b ESSID:""
Mode:Auto Channel:0 Access Point: 00:00:00:00:00:00
Bit Rate:2Mb/s Tx-Power:2346 dBm
Retry min limit:8 RTS thrff Fragment thrff
Encryption keyff
Link Quality:0/92 Signal level:-69 dBm Noise level:-90 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


linux:~ # ifconfig -a
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:270 errors:0 dropped:0 overruns:0 frame:0
TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:26788 (26.1 Kb) TX bytes:26788 (26.1 Kb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

wlan0 Link encap:Ethernet HWaddr 00:06:25:29:C0:EF
inet addr:192.168.2.153 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::206:25ff:fe29:c0ef/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:210 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x100

linux:~ # ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:06:25:29:C0:EF
inet addr:192.168.2.10 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::206:25ff:fe29:c0ef/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:210 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x100

linux:~ #

Still don't know what all of this means but i can see Router MAC address and my static IP (inet addr). When I try to ping 192.168.2.1 I get Destination Host Unreachable , any suggestions?

Thanks again for helping a newbie

Kevin
 
Old 07-23-2003, 08:00 PM   #29
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
You have both the orinoco_cs modules and the prism2_cs modules loaded and the prism2_cs modules seem to be in control as the orinoco modules with brand the wireless device with an ethX dev name.

If you wanted to stick with the prism2_cs modules, you're going to have to hack up the file as Zane posted above. If you want to go with the orinoco modules, first I would highly recommend compiling a newer version, .13e, and then move the /etc/pcmcia/wlan-ng.conf file out of that directory, and then hard restart pcmcia.

Cheers,

Finegan
 
Old 07-23-2003, 09:03 PM   #30
Kevin Edmonds
LQ Newbie
 
Registered: Jul 2003
Location: Kansas City
Distribution: SuSE, Mandrake
Posts: 16

Original Poster
Rep: Reputation: 0
?

How do I get rid of one or other? I figure if I can get it to compile I'll use orinoco driver, it seems to be the best supported.

I just tried to compile the orinoco 13e driver and get two errors

after make command I get:
make -C /lib/modules/2.4.20-4GB/build SUBDIRS=root/orinoco-0.13e modules

make: ***/lib/modules/2.4.20-4GB/build No such file or directory. Stop.

make: *** [modules] Error 2

under the directory above I do have a link (shortcut symbol) named build but it says it does not seem to exist anymore!

strange this a fresh install with nothing more done than to set up the eth0 in yast2

Any suggestions?
Kevin
 
  


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
Smoothwall 2.0 on a Toshiba Tecra 8000 drodbar Linux - Laptop and Netbook 4 07-06-2006 05:32 PM
Toshiba Tecra 8000 AndK Linux - Laptop and Netbook 5 06-01-2006 02:25 PM
networking my toshiba tecra 8000 caseysmom57 Linux - Networking 2 11-14-2005 07:24 AM
toshiba tecra 8000 sound not working JunctaJuvant Slackware 2 10-19-2004 04:05 PM
SuSE 9.1 toshiba tecra 8000 APM problem JunctaJuvant SUSE / openSUSE 1 10-15-2004 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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