Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How Debian almost got to run wifi

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
Intel4004
Posts: 1
Joined: 2005-12-05 04:28

How Debian almost got to run wifi

#1 Post by Intel4004 »

Part three of a Debian install:
It was a dark and stormy Sunday night with much lighting in the air around Intel’s apt on 12/4/05

Jalad so you reinstalled and have a working X env now? and also WPA?
Intel Jalad, no wpa_supplicant yet but I have gathered the required software
Jalad native ndiswrapper will be using: wlan0 unless you change it
Intel that’s okay with me.
Jalad so you have an ssh connection now?
Intel (not brothering to ans question) I went and got the linuxant driver
Jalad you never used linuxant before did you?
Intel I used the gui wifi installer on Xandros which knew how to load the windows drives to ndiswrapper
Jalad
lsmod | grep ndiswrapper
Intel how do I tell it to allow ssh so I can putty in?
Jalad do you have the wires still connected? (I assume since your deb box is connected to irc)
Intel yes but it won't let me establish connection
Jalad then it's only a matter of starting the ssh daemon
/etc/init.d/sshd start
Jalad or
/etc/init.d/ssh start
Intel here we go again no such file
Jalad
apt-get install ssh
Intel okay it’s installing
Jalad
/etc/init.d/ssh start
Jalad or
/etc/init.d/sshd start
Intel I'm on, ssh worked
Jalad I see 'WMP54GS drivers' but where is the wpa_supplicant.conf (form /etc)
Intel wpa_supplicant hasn't been installed yet so there is no conf @ this time or space
Jalad sighs
Intel also I can't get it off of the Xandros system disk @ this time because it is unplugged from the ide cable
Jalad ah well
Intel I can write a config file using the text editor: no problem!
Jalad it means you'll have to make your own config file again
Jalad I've seen your “it’s no problem” bits before ;)
Intel not to worry I have me trusty gui and me text editor: their my pals
Jalad I'm sure your experience from the last time will let things go smoother this time
Jalad
ls -lR Desktop
Intel
Desktop: Total 0
Intel hey that lies: I just showed you my desktop
Jalad Sigh, Desktop is what kde uses I guess that little gnome uses something else
Jalad please drag the WMP54GS drivers to your home dir (easiest)
Jalad oh it's already there, my bad
Jalad
ls -lR WMP54*
Intel brb
Jalad get's impatient so he slaps in a different command
find ./ -iname \*.inf
Intel alright I'm back
Jalad there should only be one or two answers this time
Jalad
find ./ -iname \*.inf
Intel ./WMP54GS drivers/WMP54GS.inf
Jalad ok good
ndiswrapper -i `find ./ -iname \*.inf`
Jalad if ndiswrappers accepts it as ok then it'll store it's own data in /etc/ndiswrapper/.....
Intel
-bash: ndiswrapper: command not found
Jalad
su –
ndiswrapper -i `find ./ -iname \*.inf`

Intel
Usage: ndiswrapper OPTION
Manage ndis drivers for ndiswrapper.
-i inffile Install driver described by 'inffile'
-d devid driver Use installed 'driver' for 'devid'
-e driver Remove 'driver'
-l List installed drivers
-m Write configuration for modprobe
-hotplug (Re)Generate hotplug information where 'devid' is either PCIID or USBID of the form XXXX:XXXX
Jalad ugh

ndiswrapper -i ./WMP54GS\ drivers/WMP54GS.inf
Intel
dirname: too many arguments Try `dirname --help' for more information.
Installing wmp54gs cp: `/etc/ndiswrapper/wmp54gs/wmp54gs.inf':
specified destination directory does not exist Try `cp --help' for more information
Jalad
ndiswrapper -i ./WMP54GS\ drivers/WMP54GS.inf
Intel same error
Jalad hmm
ndiswrapper -i ./WMP54GS\ drivers/WMP54GS.inf
Intel
debian:# ndiswrapper -i ./WMP54GS\ drivers/WMP54GS.inf
dirname: too many arguments
Try `dirname --help' for more information.
wmp54gs is already installed. Use -e to remove it

Intel Debian must be a little senile?
Jalad
ndiswrapper -l
Jalad it's cool
Intel
debian:# ndiswrapper –l
Installed ndis drivers:
wmp54gs invalid driver!
Jalad ndiswrappear ok
ndiswrapper -e wmp54gs
Intel okay done
Jalad
ndiswrapper -i /home/intel/WMP54GS\ drivers/WMP54GS.inf
Intel
dirname: too many arguments
Jalad interesting
ndiswrapper -i '/home/intel/WMP54GS drivers/WMP54GS.inf'
Intel
Installing wmp54gs
cp: `/etc/ndiswrapper/wmp54gs/wmp54gs.inf': specified destination directory does not exist
Jalad
ndiswrapper -i '/home/intel/WMP54GS drivers/WMP54GS.inf'
Intel none of those
Jalad did you try the last one
Intel /me typing with two fingers very slowly
debian:#ndiswrapper -i /home/intel/WMP54GS\ drivers/WMP54GS.inf
dirname: too many arguments
Try `dirname --help' for more information.
wmp54gs is already installed. Use -e to remove it
Intel /me wonders if Jalad has ever heard the story about the woman in the supermarket standing in the frozen food isle throwing packages of vegetables into the isle when a stock clerk comes by and says: “Lady! What is the problem, MAY I help you!!” “Yes you may, I’m looking for some broccoli and I can’t find any.” The stock clerk says: “I’m so very sorry madam but we haven’t any broccoli today” and then he starts picking up all the packages the lady threw on the floor. Fifteen minutes go by and the stock clerk is coming down the frozen isle again and what does he see? The same lady was throwing packages of frozen food into the isle. They had the same conversation as before. Finally the stock clerk says: “Madam, if you take the letters f, u, c, and k out of the word broccoli what does it spell then?” The Lady says: “Young man there isn’t any **** in broccoli.” The stock clerk say, “yes mama I know and that’s what I’ve been trying to tell you!” Jalad, do you think it’s trying to tell us that there is no f, u, c, nor k in the ndiswrapper?
Jalad yawns
ndiswrapper -l
Intel
debian:# ndiswrapper -l
Installed ndis drivers:
wmp54gs invalid driver!
Jalad
ls -lR /etc/ndiswrapper/*
Intel
debian:# ls -lR /etc/ndiswrapper/*
total 8
-rw-r--r-- 1 root root 631 2005-12-04 05:19 14E4:4318:1737:0042.5.conf
lrwxrwxrwx 1 root root 51 2005-12-04 05:19 14E4:4318.5.conf - /etc/ndiswrapper/wmp54gs/14E4:4318:1737:0042.5.conf
-rw-r--r-- 1 root root 631 2005-12-04 05:19 14E4:4320:1737:0015.5.conf
lrwxrwxrwx 1 root root 51 2005-12-04 05:19 14E4:4320.5.conf - /etc/ndiswrapper/wmp54gs/14E4:4320:1737:0015.5.conf
Jalad that looks good though
iwconfig wlan0
Intel
wlan0 No such device
Jalad okay lets see
lsmod |grep ndiswrapper
Intel no output
Jalad ah that explains
modprobe ndiswrapper
Intel
FATAL: Module ndiswrapper not found.
Jalad ah I presumed: ok doing it (shortly) I wonder if you installed all ndiswrapper stuff
Intel no I didn’t, out of:
ndiswrapper-modules-2.6.8-2-386 Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-2-686 Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-2-686-smp Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-2-k7 Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-2-k7-smp Ndiswrapper linux kernel module
ndiswrapper-source Source for the ndiswrapper linux kernel module
ndiswrapper utilities userspace utilites for ndiswrapper
I got only the first and the last one
Jalad looks like the std driver (2.6.12-1-686) for your kernel isn't there so get the source
Intel
apt-get install ndiswrapper-source
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Intel crap!
killall -9 synaptic
Source is installing now

Lighting crash, cable connection out, irc dead . . to be continued we hope

Post Reply