LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 01-24-2005, 01:00 AM   #1
tical
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Rep: Reputation: 0
wireless network list


is there a way in linux to have a list of SSID's similar to windows XP s2 .. and is there a way to search and show a list of SSID in linux??
 
Old 01-24-2005, 03:55 AM   #2
kinney
Member
 
Registered: Jan 2005
Location: New York
Distribution: Slackware, Arch
Posts: 37

Rep: Reputation: 15
Not sure if you can use the program to connect but if you just looking to list the ssid's your card is picking up you could try kismet. www.kismetwireless.net
 
Old 01-24-2005, 05:55 PM   #3
tical
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Original Poster
Rep: Reputation: 0
awsome thnx
 
Old 01-24-2005, 06:39 PM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
iwlist eth0 (or your interface - eth0, sit0, ath1, etc) scan
KWiFiManager, if you have KDE loaded (although you needn't be running it) will also scan for wireless networks.
 
Old 01-25-2005, 05:44 AM   #5
kinney
Member
 
Registered: Jan 2005
Location: New York
Distribution: Slackware, Arch
Posts: 37

Rep: Reputation: 15
Hey 2gnu when i try to run iwlist eth0 scan it get
eth0 Interface doesn't support scanning : Operation not permitted
I am running slackware 10 with an Orinoco gold card. do you know how i can get that to work?
 
Old 01-25-2005, 11:04 AM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Wow. I've seen that error with an old Prism card, but not with an ORiNOCO.

I tried using my old ORiNOCO Silver this morning on Slack 10.0 and 2.6.10 kernel and was able to reproduce the error if the interface was down.
Make sure that the interface is up before running the scan.
 
Old 01-25-2005, 03:08 PM   #7
kinney
Member
 
Registered: Jan 2005
Location: New York
Distribution: Slackware, Arch
Posts: 37

Rep: Reputation: 15
Nevermind i fixed it. I went to http://www.ozlabs.com/people/dgibson/dldwd/
and downloaded the orinoco-0.15rc2 drivers. After installing them it works with fine.
 
Old 02-18-2005, 11:42 PM   #8
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
hey kinney, i tried that and got a bunch of errors...can you tell me how you installed the new driver?

i downloaded the .tar.gz, untarred it in my /home/severian/src directory, then cd'd into it. the README said make and make install, so i tried, but make exited with a bunch of errors. there are a lot that say warning: passing arg x of 'writw' makes your pointer from integer without a cast. and then

make[2]: *** [/home/severian/src/orinoco-0.15rc2/orinoco_pci.o] Error 1
make[1]: *** [__module_/home/severian/src/orinoco-0.15rc2] Error 2
make[1]: Leaving directory '/home/severian/src/linux-2.6.10'
make: *** [modules] Error 2


did you uninstall the current driver before you ran make? if so, how?
 
Old 02-19-2005, 02:33 AM   #9
kinney
Member
 
Registered: Jan 2005
Location: New York
Distribution: Slackware, Arch
Posts: 37

Rep: Reputation: 15
No I didn't need to uninstall it, make just worked for me. I noticed that the error makes a reference to the 2.6.10 kernel and I noticed that in the README it says "The Makefile included with the driver assumes that the link /lib/modules/<version>/build points to this." Have you checked that? I'm really not sure whats causing your problem. Maybe post the other information you referenced there could be something there.
 
Old 02-19-2005, 06:53 PM   #10
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
from the orinoco_cs Makefile:


# If you have PCMCIA support in the kernel, leave PCMCIA_CS blank, ie
# PCMCIA_CS =
# If on the other hand you are using pcmcia-cs modules to drive your
# card, set PCMCIA_CS to the name of the directory where the pcmcia-cs
# source code is (where the INSTALL, README, SUPPORTED.CARDS files are)
# e.g.
# PCMCIA_CS = /usr/src/modules/pcmcia-cs
PCMCIA_CS =



now, i built pcmcia support as modules, so is it "in the kernel"? that's what i thought, so i left this blank. i did run slocate on pcmcia-cs, and found this:

root@lightstar $ slocate pcmcia-cs
/var/log/packages/pcmcia-cs-3.2.7-i486-3
/var/log/scripts/pcmcia-cs-3.2.7-i486-3
/usr/doc/pcmcia-cs-3.2.7
/usr/doc/pcmcia-cs-3.2.7/BUGS
/usr/doc/pcmcia-cs-3.2.7/LICENSE
/usr/doc/pcmcia-cs-3.2.7/README
/usr/doc/pcmcia-cs-3.2.7/PCMCIA-HOWTO
/usr/doc/pcmcia-cs-3.2.7/PCMCIA-PROG
/usr/doc/pcmcia-cs-3.2.7/README-2.4
/usr/doc/pcmcia-cs-3.2.7/SUPPORTED.CARDS
/usr/doc/pcmcia-cs-3.2.7/MAINTAINERS
/usr/doc/pcmcia-cs-3.2.7/COPYING

root@lightstar $ ls -al /usr/doc/pcmcia-cs-3.2.7/
total 420
drwxr-xr-x 2 root root 4096 2004-05-29 21:30 .
drwxr-xr-x 313 root root 8192 2005-01-14 16:30 ..
-rw-r--r-- 1 root root 8953 2003-12-15 23:12 BUGS
-rw-r--r-- 1 root root 1131 2000-06-12 14:33 COPYING
-rw-r--r-- 1 root root 30901 1999-07-20 11:05 LICENSE
-rw-r--r-- 1 root root 1628 2002-05-01 00:21 MAINTAINERS
-rw-r--r-- 1 root root 162760 2003-12-06 15:32 PCMCIA-HOWTO
-rw-r--r-- 1 root root 150284 2003-01-22 07:37 PCMCIA-PROG
-rw-r--r-- 1 root root 416 2003-09-13 12:24 README
-rw-r--r-- 1 root root 6445 2003-09-13 12:22 README-2.4
-rw-r--r-- 1 root root 25208 2003-12-09 07:13 SUPPORTED.CARDS
root@lightstar $


so i can't tell whether i should point the makefile to a folder in /usr/doc .... but i didn't think so when i tried installing.

the only other thing in the Makefile that might affect me was this:

# Output directory that you used when building Linux kernel, if any.
# Note: this driver will be compiled to the current directory regardless.
O = $(KERNEL_SRC)


i built my kernel in /home/severian/src/linux-2.6.10, and did make bzImage, make modules, make modules_install. the /lib/modules/2.6.10/build points to that directory.

the README.orinoco file says this:

If you need to install a newer version from ozlabs.org, you will need
the kernel source for the kernel you are currently running. The
Makefile included with the driver assumes that the link
/lib/modules/<version>/build points to this, and that you are using
the pcmcia modules from the kernel, rather than from pcmcia-cs. If
that's true, then just unpack the driver tar file, run "make", become
root and run "make install".

that sounds just like my situation, so that's what i did.



here's the total output from running make:

severian@lightstar $ pwd
/home/severian/src/orinoco-0.15rc2
severian@lightstar $ make clean
rm -f core *.o *~ .#* a.out *.d
rm -f *.s *.i dump_recs userhermes
rm -f *.ko *.mod.c *.mod .*.cmd
rm -f /*.mod
rmdir || true
rmdir: too few arguments
Try `rmdir --help' for more information.
severian@lightstar $ make
make -C /home/severian/src/linux-2.6.10 M=/home/severian/src/orinoco-0.15rc2 modules
make[1]: Entering directory `/home/severian/src/linux-2.6.10'
CC [M] /home/severian/src/orinoco-0.15rc2/hermes.o
In file included from /home/severian/src/orinoco-0.15rc2/hermes.c:54:
/home/severian/src/orinoco-0.15rc2/hermes.h: In function `hermes_present':
/home/severian/src/orinoco-0.15rc2/hermes.h:400: warning: passing arg 1 of `readw' ma kes pointer from integer without a cast
/home/severian/src/orinoco-0.15rc2/hermes.h: In function `hermes_set_irqmask':
/home/severian/src/orinoco-0.15rc2/hermes.h:406: warning: passing arg 2 of `writew' m akes pointer from integer without a cast
/home/severian/src/orinoco-0.15rc2/hermes.h: In function `hermes_read_words':
/home/severian/src/orinoco-0.15rc2/hermes.h:447: warning: passing arg 1 of `readw' ma kes pointer from integer without a cast
/home/severian/src/orinoco-0.15rc2/hermes.h: In function `hermes_write_words':
/home/severian/src/orinoco-0.15rc2/hermes.h:467: warning: passing arg 2 of `writew' m akes pointer from integer without a cast
/home/severian/src/orinoco-0.15rc2/hermes.h: In function `hermes_clear_words':
/home/severian/src/orinoco-0.15rc2/hermes.h:483: warning: passing arg 2 of `writew' m akes pointer from integer without a cast
/home/severian/src/orinoco-0.15rc2/hermes.c: In function `hermes_issue_cmd':
/home/severian/src/orinoco-0.15rc2/hermes.c:105: warning: passing arg 1 of `readw' ma kes pointer from integer without a cast
/home/severian/src/orinoco-0.15rc2/hermes.c:109: warning: passing arg 1 of `readw' ma kes pointer from integer without a cast
/home/severian/src/orinoco-0.15rc2/hermes.c:115: warning: passing arg 2 of `writew' m akes pointer from integer without a cast
/home/severian/src/orinoco-0.15rc2/hermes.c:116: warning: passing arg 2 of `writew' m akes pointer from integer without a cast
/home/severian/src/orinoco-0.15rc2/hermes.c:117: warning: passing arg 2 of `writew' m


and a whoooole lot more of that...and at the end:


/home/severian/src/orinoco-0.15rc2/orinoco_pci.c:171: warning: passing arg 1 of `read w' makes pointer from integer without a cast
/home/severian/src/orinoco-0.15rc2/orinoco_pci.c:174: warning: passing arg 1 of `read w' makes pointer from integer without a cast
/home/severian/src/orinoco-0.15rc2/orinoco_pci.c: In function `orinoco_pci_suspend':
/home/severian/src/orinoco-0.15rc2/orinoco_pci.c:330: error: too many arguments to fu nction `pci_save_state'
/home/severian/src/orinoco-0.15rc2/orinoco_pci.c: In function `orinoco_pci_resume':
/home/severian/src/orinoco-0.15rc2/orinoco_pci.c:347: error: too many arguments to fu nction `pci_restore_state'
cc1: Permission denied: opening dependency file /home/severian/src/orinoco-0.15rc2/.o rinoco_pci.o.d
make[2]: *** [/home/severian/src/orinoco-0.15rc2/orinoco_pci.o] Error 1
make[1]: *** [_module_/home/severian/src/orinoco-0.15rc2] Error 2
make[1]: Leaving directory `/home/severian/src/linux-2.6.10'
make: *** [modules] Error 2
severian@lightstar $
 
Old 02-20-2005, 02:11 PM   #11
kinney
Member
 
Registered: Jan 2005
Location: New York
Distribution: Slackware, Arch
Posts: 37

Rep: Reputation: 15
cc1: Permission denied: opening dependency file /home/severian/src/orinoco-0.15rc2/.orinoco_pci.o.d

I'm not sure why your getting this but it looks like there might be an ownership conflict. check to see who owns that file and check to make sure its readable by the user your trying to make it with.
 
Old 02-20-2005, 05:08 PM   #12
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
well, you were right, that file was owned by root. i used chown to make my user the owner, then ran make clean and make again. but i got the same errors. that one line about permissions was gone, but all the rest of it is exactly the same. i notice at the end it says too many arguments in the suspend and restore_state functions. i'm pretty sure i chose not to include support for suspended state because it was listed as experimental (pretty sure this was under ACPI options). i have no idea whether this is related.

Last edited by mcd; 02-20-2005 at 10:33 PM.
 
Old 02-22-2005, 06:36 AM   #13
kinney
Member
 
Registered: Jan 2005
Location: New York
Distribution: Slackware, Arch
Posts: 37

Rep: Reputation: 15
I can't figure out what the problem is with this. I downloaded the source again ran make and my output is completely different than yours. The one major difference though is that I'm running the 2.4 kernel that came with slack 10.1. If you still have the kernel you originally installed with slackware try booting up with that and see if you can compile with that kernel. Maybe its a kernel problem. These drivers are probably a bit old and it even reccomends you use the orinoco driver in the kernel.
 
Old 02-22-2005, 08:48 PM   #14
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
hey kinney, thanks for following up! y'know, i meant to try this earlier and forgot, but it was a good idea. the new orinoco driver installed no problem on the standard slackware 2.4.26 kernel, and i can iwlist scan now! woot! of course, now i need to sit down and work out why it's not working in 2.6.10....

anyway, thanks so much for your help! you're the man!
 
  


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
where is the wireless chipset support list? barrythai Mandriva 1 03-18-2005 03:30 AM
wireless channel list different from router's list heluani Linux - Laptop and Netbook 1 08-29-2004 10:04 PM
Could not read network connection list NonSumPisces Linux - General 1 06-22-2004 04:02 PM
List of Mandrake Supported Wireless Cards? faref Mandriva 2 01-26-2004 02:09 PM
list of wireless PCI cards for RH 9? linuxceptic Linux - Wireless Networking 1 01-23-2004 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:43 AM.

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