Another slackware networking problem

Place to discuss Slackware
Post Reply
shuiend
scripter
scripter
Posts: 91
Joined: Mon Apr 28, 2003 8:05 pm

Another slackware networking problem

Post by shuiend » Sun Nov 02, 2003 6:38 pm

Well after i found out i cannto run wire to my room i decided i am now hell bent on getting wireless working in slackware. I a stuck in windows 2k untell i do so i need to get my ass workin on it. I am using a DLink DWL-520 wireless card. I am presently using the wireless drivers from linux-wlan.com.
When I boot itseems to load the drivers then it starts laoding orinoco.c drivers. My dmesg is as following.

root@lcomp:~# dmesg
Linux version 2.4.20 (root@midas) (gcc version 3.2.2) #2 Mon Mar 17 22:02:15 PST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
zone(0): 4096 pages.
zone(1): 126960 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=305 hdc=ide-scsi
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 1470.019 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 2936.01 BogoMIPS
Memory: 515500k/524224k available (1733k kernel code, 8336k reserved, 568k data, 112k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon(tm) XP 1700+ stepping 00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb4f0, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Discovered primary peer bus ff [IRQ]
PCI: Using IRQ router default [10de/01e0] at 00:00.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
vesafb: framebuffer at 0xd0000000, mapped to 0xe080d000, size 65536k
vesafb: mode is 1024x768x8, linelength=1024, pages=3
vesafb: protected mode interface info at c000:f6d0
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
Real Time Clock Driver v1.10e
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PCI_IDE: unknown IDE controller on PCI bus 00 device 48, VID=10de, DID=0065
PCI_IDE: chipset revision 162
PCI_IDE: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 4D040K2, ATA DISK drive
hdc: LITE-ON LTR-48246S, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 80043264 sectors (40982 MB) w/2048KiB Cache, CHS=4982/255/63
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda4 < hda5 hda6 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
ide-floppy driver 0.99.newide
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 2108.000 MB/sec
32regs : 1212.000 MB/sec
pIII_sse : 4042.000 MB/sec
pII_mmx : 3442.400 MB/sec
p5_mmx : 4392.800 MB/sec
raid5: using function: pIII_sse (4042.000 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
reiserfs: checking transaction log (device 03:05) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 112k freed
Adding Swap: 522072k swap-space (priority -1)
reiserfs: checking transaction log (device 03:02) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: LITE-ON Model: LTR-48246S Rev: SS04
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Intel PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
ds: no socket drivers loaded!
prism2_init: prism2_pci.o: 0.2.1-pre12 Loaded
prism2_init: dev_info is: prism2_pci
A Prism2.5 PCI device found, phymem:0xe4000000, irq:5, mem:0xe49d3000
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
gameport0: Emu10k1 Gameport at 0xd800 size 8 speed 828 kHz
Creative EMU10K1 PCI Audio Driver, version 0.20a, 09:06:03 Mar 17 2003
emu10k1: EMU10K1 rev 8 model 0x8040 found, IO at 0xd400-0xd41f, IRQ 7
ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel STAC9721/23)
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
01:07.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xd000. Vers LK1.1.16
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 Mar 11 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
uhci.c: USB Universal Host Controller Interface driver v1.1
usb.c: deregistering driver usbdevfs
usb.c: deregistering driver hub
0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4363 Sat Apr 19 17:46:46 PDT 2003
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: unsupported bridge
agpgart: no supported devices found.
0: NVRM: AGPGART: unable to retrieve symbol table
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: unsupported bridge
agpgart: no supported devices found.
0: NVRM: AGPGART: unable to retrieve symbol table


near the top prism2_init: prism2_pci.o: 0.2.1-pre12 Loaded
prism2_init: dev_info is: prism2_pci
A Prism2.5 PCI device found, phymem:0xe4000000, irq:5, mem:0xe49d3000
seems to say that the drivers are loaded. Now i am wondering why it is trying to load the orinoco.c driver. I never set it up to load that driver. I cannot find in any scripts where it calls that. I am trying to set up the wireless card for DHCP. Setting all the ip and broadcast correctly does not allow me to get on the network so i must do DHCP. Any help would be appreacted. I can also post the outputs of other scripts if ou need me to. Just tell me what you need to know.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sun Nov 02, 2003 7:29 pm

So let me get this straight. Your network appears to be working if you use get a DHCP assigned address? If so then the drivers are loaded properly. If you don't get any errors I would leave it alone. It sounds like you want to set a static IP address but can not get that working, do I have it straight so far? If you can get DHCP to work then you should also be able to set up a static address and have it work with no problem. If I have it right then I need to know a little more about your network. I would be curious why you need to set it static though.

shuiend
scripter
scripter
Posts: 91
Joined: Mon Apr 28, 2003 8:05 pm

Post by shuiend » Sun Nov 02, 2003 7:34 pm

No DHCP is not working. It will not recieve and ip address from the router with the wireless card. I beileve that it is the orinco driver trying to load that is screwing up.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sun Nov 02, 2003 8:47 pm

Is it really a 520 or a 520+? If it's a 520+ then it appears to use a different driver:

http://support.dlink.com/faq/view.asp?prod_id=1042
http://acx100.sf.net/

I'm really out of my element when it comes to wireless or Slackware, not to mention putting them both together. There are a few people on here that use Slack but I don't believe they are running wireless. I would suggest asking on a busier forum like linuxquestions.org or the forums at linuxiso.org, etc. Does the wlan project have a mailing list? I wish I had a wireless card and AP to test. I want the 802.11g but all the vendors are Windows Nazis it seems.

shuiend
scripter
scripter
Posts: 91
Joined: Mon Apr 28, 2003 8:05 pm

Post by shuiend » Mon Nov 03, 2003 3:27 pm

I am positive that it is a 520. I have used it in Red Hat and Suse with no problems with these drivers. Red Hat i just installed the RPMS and bam it worked. In Suse it got configured in yast for using the drivers in work. Its just i dont care for either of those 2 very much. I find slackware to be a lot more usefull for me. And i think it looks better 2.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Mon Nov 03, 2003 3:35 pm

More useful? How? Looks better? How? Anything you can run on Slack you can run on Red Hat and vice versa. It seems you are having more trouble getting your wireless card working on it.
Last edited by Void Main on Mon Nov 03, 2003 3:47 pm, edited 1 time in total.

Tux
guru
guru
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Post by Tux » Mon Nov 03, 2003 3:39 pm

shuiend how are drivers being loaded on your box?

shuiend
scripter
scripter
Posts: 91
Joined: Mon Apr 28, 2003 8:05 pm

Post by shuiend » Mon Nov 03, 2003 8:24 pm

ok i got it working. I read alot about it on linuxquestions.org but nothing there helped so i was just messin around seeing what i could do that would try to make it work and i actually got it workin so that is great. Now just to fix x with new nvidia drivers. could any one tell me the actual memory size of 64meg in vytes. X86config is sayin my card only has 4megs of memory and i know thats way off.

Also voidmain it is rweally just i personall prefrence of mine that i like slackware over redhat. idk it just seems slackware runs quicker and smoother on my machine then red hat ever did. I am also starting to actually piece together how everything works in a linux machine and slackware is helpin alot more with that. I am starting to enjoy manually editing files and what not to get stuff workin. I did love the apt-get support of RH though. that is something that i really miss now.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Mon Nov 03, 2003 8:45 pm

That's cool. I didn't mean for it to sound like it was bad to prefer Slack over Red Hat, I just thought you preferred it for all the wrong reasons. That's good that you are learning more about Linux in the process, much better reasons for preferring Slackware IMHO. I actually used Slackware for a while (before there was a Red Hat). I also like Debian, you might try that in your travels (creator of apt-get/synaptic).

shuiend
scripter
scripter
Posts: 91
Joined: Mon Apr 28, 2003 8:05 pm

Post by shuiend » Mon Nov 03, 2003 9:03 pm

yah i just got X11 wokrin. Stupid me spelling stuff wrong. I plan on trying debian some time in the future but right now i am wokrin on settin up slackware as my gaming rig. So far it is going good. Just got to get a couple more games installed and i should be all set with it.

User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

Post by Calum » Tue Nov 04, 2003 4:50 pm

shuiend wrote:ok i got it working. I read alot about it on linuxquestions.org but nothing there helped so i was just messin around seeing what i could do that would try to make it work and i actually got it workin so that is great. Now just to fix x with new nvidia drivers. could any one tell me the actual memory size of 64meg in vytes. X86config is sayin my card only has 4megs of memory and i know thats way off.

Also voidmain it is rweally just i personall prefrence of mine that i like slackware over redhat. idk it just seems slackware runs quicker and smoother on my machine then red hat ever did. I am also starting to actually piece together how everything works in a linux machine and slackware is helpin alot more with that. I am starting to enjoy manually editing files and what not to get stuff workin. I did love the apt-get support of RH though. that is something that i really miss now.

HOW DID YOU GET IT WORKING??????????

i want to buy a D-Link wireless card and use DHCP on my red hat 9.0 box (and also on my slack 9.0 (soon to be 9.1) one) but on the advice of refalm i thought it would be too much hassle and thought i might as well get a 50 foot cable and run it down the stairs. needless to say i'd prefer to get a D-Link wireless card and get it to work. the reason is that we have a D-Link gateway/hub and i know nothing about networking. in fact i already asked this here...

shuiend
scripter
scripter
Posts: 91
Joined: Mon Apr 28, 2003 8:05 pm

Post by shuiend » Sat Nov 15, 2003 11:44 pm

Ok Calum sorry i havent responded sooner but i have been busy. I have a D-Link 520. I got it about a year in a half ago. You need to make sure you get the non plus and that it is a prism2 chip set. You motherboard also has to be pci 2.2 complient for this card or so it says. I really cant comment on that since it has worked in all my comps just fine. I dont know if they are pci 2.2 or not though.
First off once you get the card goto linux-wlan.com and pick up the latest drivers form there. If you are running red hat there is a site in their faq that has rpms that work wonderfully. I would suggest those if possible. If you are in slack i have gotten the driver to work in 9 and 9.1 the exactly the same way. you need to configure and compile and install the drivers first. Also in slackware check and see if you have orinco_pci loaded with lsmod. If you do you need to remove that module. I am not exactly sure on that name though. After that in the read me there is a section about pci cards. It more or less says the following

modprobe prism2_pci
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=linksys authtype=opensystem

you need to change where it says ssid to whatever ur ssid is. Then all you need to do is
dhcpcd wlan0. Also in the modules.conf file add this line.
alias wlan0 prism2_pci
other then that it should work. If you have any other questions feel free to ask

Post Reply