Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dlink wireless card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
einstein1981
Guru
Guru


Joined: 10 Mar 2004
Posts: 395
Location: Venezuela , Caracas

PostPosted: Mon May 03, 2004 10:17 pm    Post subject: Dlink wireless card Reply with quote

Hi , i'm trying to configure a Dlink dwl-g650 wireless card, on my dell inspiron laptop... i've been reading the forum on this, but I can honestly say I don't know where to start...

...

if someone could be kind enough to give me step by step instruccions, to get this working...

also I'v read that there is a g650, g650+, and a g650 a1, I really have no idea what this is?

how can I find out
?

thank you again
_________________
thesis.
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Tue May 04, 2004 11:32 am    Post subject: Reply with quote

Look at the model name exactly and you'll either find a "+" symbol or you won't. simple as that. If it's one of those based on the acx100, this may help:
http://sourceforge.net/projects/acx100/
Back to top
View user's profile Send private message
K-Dawg
Apprentice
Apprentice


Joined: 06 Jan 2004
Posts: 186
Location: Denver, Colorado

PostPosted: Tue May 04, 2004 3:16 pm    Post subject: Reply with quote

Emerge the madwifi-driver for the atheros chipset and you should be good to go :)
Back to top
View user's profile Send private message
einstein1981
Guru
Guru


Joined: 10 Mar 2004
Posts: 395
Location: Venezuela , Caracas

PostPosted: Wed May 05, 2004 1:12 am    Post subject: Reply with quote

hi sorry for not answering before, wasn't at home, the thing is that I don't even know if my pcmia solt is working since no lights are light on the card ( in windows it works perfectly)

so I don't know really if I should even start to configure it

thank you

CHarles
_________________
thesis.
Back to top
View user's profile Send private message
einstein1981
Guru
Guru


Joined: 10 Mar 2004
Posts: 395
Location: Venezuela , Caracas

PostPosted: Wed May 05, 2004 2:13 am    Post subject: Reply with quote

ok so this is what i've done:

i included pcmcia support in the kernel
then I emerged madwifi-drivers
then emerged wireless-tools

I recompiled the kernel and rebooted it, but still if I do
root@pygoscelis charz # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.


and if I do

root@pygoscelis charz # ifconfig ath0 up
ath0: unknown interface: No such device


any ideas please.

I checked and there is no "+" on the card

thank you
_________________
thesis.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed May 05, 2004 8:16 am    Post subject: Reply with quote

Have you emerged pcmcia-cs?
Code:
emerge pcmcia-cs

Is it started?
Code:
rc-update add pcmcia-cs default
rc

Is the modue loaded?
Code:
lsmod

If not, insert it!
Code:
modprobe ath_pci

Any errors? Any dmesg errors?[/code]dmesg[/code]
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Wed May 05, 2004 11:02 am    Post subject: Reply with quote

ive just got a DL link 650+ on my Dell using ndiswrapper

modprobe ndiswrapper
ifconfig - a should show wlan0
iwconfig wlan0 essid .......
iwconfig channel.......
iwconfig wlan made ad-hoc
iwlist wlan0 scan
dhcpcd wlan0 ( assuming its a DHCP server)
Back to top
View user's profile Send private message
einstein1981
Guru
Guru


Joined: 10 Mar 2004
Posts: 395
Location: Venezuela , Caracas

PostPosted: Wed May 05, 2004 4:10 pm    Post subject: Reply with quote

hey thanksfor the answers, here is what I get so far:

root@pygoscelis charz # rc-update add pcmcia default
* pcmcia added to runlevel default
* Caching service dependencies...
* rc-update complete.
root@pygoscelis charz # rc
* PCMCIA support detected.
* Starting pcmcia...
cardmgr[7600]: no sockets found!
* cardmgr failed to start. Make sure that you have PCMCIA
* modules built or support compiled into the kernel [ !! ]
root@pygoscelis charz #
root@pygoscelis charz # lsmod
Module Size Used by
nvidia 1702508 -
root@pygoscelis charz # modprobe ath_pci
root@pygoscelis charz # lsmod
Module Size Used by
ath_pci 36260 -
wlan 42240 -
ath_hal 121616 -
nvidia 1702508 -
root@pygoscelis charz # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

root@pygoscelis charz #

in the kernel I only did support for pcmcia....

any ideas on what is missing?

by the way, still no lights on the card
_________________
thesis.
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Wed May 05, 2004 4:49 pm    Post subject: Reply with quote

When you say you enabled PCMCIA i suspect you enabled the header only. Meaning you have enavbled the choices but no driver actually. lspci will give you more information about your socket, most more recent system use Cardbus/yenta. In this case, go back to your kernel configuration and verify that you have cardbus / yenta support (as module i'd suggest).
Back to top
View user's profile Send private message
einstein1981
Guru
Guru


Joined: 10 Mar 2004
Posts: 395
Location: Venezuela , Caracas

PostPosted: Wed May 05, 2004 5:21 pm    Post subject: Reply with quote

thanks again, you are right i just enabled the first option, this is the lspci output:

Code:
root@pygoscelis charz # lspci
00:00.0 Host bridge: Intel Corp. 82852/855GM Host Bridge (rev 02)
00:00.1 System peripheral: Intel Corp. 855GM/GME GMCH Memory I/O Control Registers (rev 02)
00:00.3 System peripheral: Intel Corp. 855GM/GME GMCH Configuration Process Registers (rev 02)
00:01.0 PCI bridge: Intel Corp. 855GME GMCH Host-to-AGP Bridge (Virtual PCI-to-PCI) (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #3 (rev 01)
00:1d.7 USB Controller: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller (rev 01)00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 01)
00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB (ICH4) AC'97 Audio Controller (rev 01)
00:1f.6 Modem: Intel Corp. 82801DB (ICH4) AC'97 Modem Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV34M [GeForce FX Go 5200] (rev a1)
02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
02:04.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 02)
02:04.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller
root@pygoscelis charz #



which do you recomend, I have these options:

Code:
────────────────────────────────────────────────────────────┐ │
  │ │           <*> PCMCIA/CardBus support                                │ │
  │ │           [ ]   Enable PCMCIA debugging                             │ │
  │ │           < >   CardBus yenta-compatible bridge support             │ │
  │ │           < >   i82092 compatible bridge support                    │ │
  │ │           < >   i82365 compatible bridge support                    │ │
  │ │           < >   Databook TCIC host bridge support                   │ │
  │ │                                                                     │ │
  │ │                                     



I don't know which I should compile..

thank you

I think it's this one:
02:04.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 02)

but i'm not sure, and If it is, which one is it in make menuconfig ( by the way it's a 2.6 kernel)
_________________
thesis.
Back to top
View user's profile Send private message
Erdgeist
n00b
n00b


Joined: 06 Jun 2004
Posts: 26
Location: germany

PostPosted: Mon Jun 07, 2004 11:34 am    Post subject: Reply with quote

i have the same card, and the "link-diode" is flashing.
But i get an "access denied" when i want to emerge ndiswrapper, same with emerge madwifi driver.

so my question is: what and how should i configure in the kernel

lspci says:

0000:06:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)


greetings

erdgeist
_________________
Das Hauptproblem liegt zwischen Tastatur und Rückenlehne...
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Jun 07, 2004 11:58 am    Post subject: Reply with quote

Erdgeist wrote:
i have the same card, and the "link-diode" is flashing.
But i get an "access denied" when i want to emerge ndiswrapper, same with emerge madwifi driver.

so my question is: what and how should i configure in the kernel

lspci says:

0000:06:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)


I would suggest using the CVS version of the madwifi driver
http://www.mattfoster.clara.co.uk/madwifi-2.htm
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Erdgeist
n00b
n00b


Joined: 06 Jun 2004
Posts: 26
Location: germany

PostPosted: Mon Jun 07, 2004 11:06 pm    Post subject: Reply with quote

sry, i'm drunken, but i dont think taht you understood me.

i need a how to for the kernel config.
not more, not less.

good night, sleep well

erdgeist :D
_________________
Das Hauptproblem liegt zwischen Tastatur und Rückenlehne...
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Jun 07, 2004 11:43 pm    Post subject: Reply with quote

/usr/src/linux/.config
Code:

CONFIG_NET_RADIO=y
CONFIG_NET_WIRELESS=y

_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Tue Jun 08, 2004 1:50 am    Post subject: Reply with quote

http://support.dlink.com
follow the directions then theres FAQ for linux drivers click on those links
Back to top
View user's profile Send private message
Erdgeist
n00b
n00b


Joined: 06 Jun 2004
Posts: 26
Location: germany

PostPosted: Tue Jun 08, 2004 8:54 am    Post subject: Reply with quote

ok, now i got it black on white. i need the madwifi driver, but why get i an "access denied" for the /usr/src/linux/.tmp_versions/ -folder and the /usr/src/linux/.__modpost.cmd

i tried to emerge as root.
i emerged other stuff, with no problems.

greeting Erdgeist

[edit]

thats what i made so far:
ACCEPT_KEYWORDS="~x86" FEATURES="-userpriv" emerge madwifi-driver

edit /etc/conf.d/net
iface_ath0="dhcp"

root :) lsmod
Module Size Used by
ath_pci 37380 -
wlan 57896 -
ath_hal 126864 -

root :) ifconfig -a
ath0 Link encap:Ethernet HWaddr 00:0F:3D:86:F8:F0
BROADCAST MULTICAST MTU:1500 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:199
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Memory:d08eb000-d08fb000

eth0 Link encap:Ethernet HWaddr 00:D0:59:05:71:C6
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2776 errors:0 dropped:0 overruns:0 frame:0
TX packets:2974 errors:8 dropped:0 overruns:0 carrier:8
collisions:0 txqueuelen:1000
RX bytes:1485914 (1.4 Mb) TX bytes:351337 (343.1 Kb)

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

root :)

and now?
how can i create a /etc/init.d/net.ath0 modul?

greetings erdgeist
_________________
Das Hauptproblem liegt zwischen Tastatur und Rückenlehne...
Back to top
View user's profile Send private message
skally
n00b
n00b


Joined: 16 Mar 2004
Posts: 33

PostPosted: Tue Jun 08, 2004 11:54 am    Post subject: Reply with quote

Try this:
Code:

ln -s /etc/init.d/net.eth0 /etc/init.d/net.ath0

Worked for my ipw2100-driven eth1, anyway...
_________________
-- skally
Back to top
View user's profile Send private message
Erdgeist
n00b
n00b


Joined: 06 Jun 2004
Posts: 26
Location: germany

PostPosted: Tue Jun 08, 2004 12:27 pm    Post subject: Reply with quote

great, its working...ITS WORKING :)
but i have to make modprobe ath_pci by my self, every time after i restarted my the notebook.
then i can start net.ath0.
can i change that?
_________________
Das Hauptproblem liegt zwischen Tastatur und Rückenlehne...
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Jun 08, 2004 2:09 pm    Post subject: Reply with quote

Add ath_pci to /etc/modules.autoload.d/<kernel version>

Hotplug should do this for you as well - well it does for my PCI card
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Erdgeist
n00b
n00b


Joined: 06 Jun 2004
Posts: 26
Location: germany

PostPosted: Wed Jun 09, 2004 1:01 am    Post subject: Reply with quote

it*s working like i want now. thanks to everyone who helped

greetings Erdgeist
_________________
Das Hauptproblem liegt zwischen Tastatur und Rückenlehne...
Back to top
View user's profile Send private message
lunarg
Guru
Guru


Joined: 07 Jan 2004
Posts: 508
Location: Peer, Belgium

PostPosted: Thu Jun 10, 2004 10:01 am    Post subject: Reply with quote

Quote:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-wireless_-_madwifi-driver-0.1_pre20040514-7501.log"

open_wr: /usr/src/linux-2.6.5-gentoo-r1/.tmp_versions/ath_hal.mod
open_wr: /usr/src/linux-2.6.5-gentoo-r1/.__modpost.cmd
open_wr: /usr/src/linux-2.6.5-gentoo-r1/.tmp_versions/wlan.mod
open_wr: /usr/src/linux-2.6.5-gentoo-r1/.__modpost.cmd
open_wr: /usr/src/linux-2.6.5-gentoo-r1/.tmp_versions/ath_pci.mod
open_wr: /usr/src/linux-2.6.5-gentoo-r1/.__modpost.cmd
--------------------------------------------------------------------------------

I still get the access denied message, even when I emerge using (as Erdgeist said):
Code:
ACCEPT_KEYWORDS="~x86" FEATURES="-userpriv" emerge madwifi-driver

If no-one knows why, I'm going to try to use CVS version
_________________
Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/
Back to top
View user's profile Send private message
akashk
n00b
n00b


Joined: 19 Feb 2004
Posts: 1

PostPosted: Thu Jun 10, 2004 11:51 pm    Post subject: Reply with quote

lunarg wrote:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-wireless_-_madwifi-driver-0.1_pre20040514-7501.log"

open_wr: /usr/src/linux-2.6.5-gentoo-r1/.tmp_versions/ath_hal.mod
open_wr: /usr/src/linux-2.6.5-gentoo-r1/.__modpost.cmd
open_wr: /usr/src/linux-2.6.5-gentoo-r1/.tmp_versions/wlan.mod
open_wr: /usr/src/linux-2.6.5-gentoo-r1/.__modpost.cmd
open_wr: /usr/src/linux-2.6.5-gentoo-r1/.tmp_versions/ath_pci.mod
open_wr: /usr/src/linux-2.6.5-gentoo-r1/.__modpost.cmd
--------------------------------------------------------------------------------


I had the same problem. The way I got it working was by compiling it manually.
- Go to /var/tmp/portage/madwifi-driver-0.1_pre20040514/work
-
Code:

  bash > make clean
  bash > make
  bash > make install

- That should build all the modules and put it in your /lib/modules/[kernel]/net directory.
- You can now do insmod to install the modules and add ath_pci to your /etc/modules.autoload.d/kernel

Good luck.

Akash
Back to top
View user's profile Send private message
lunarg
Guru
Guru


Joined: 07 Jan 2004
Posts: 508
Location: Peer, Belgium

PostPosted: Fri Jun 11, 2004 6:57 am    Post subject: Reply with quote

It worked :)
Thanks.
_________________
Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum