IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1825.51 MB
Powered by
Channel Info
Network: freenodeChannel: #flood |
Search in www.irclog.org
Log from #flood at freenode 2006-08-07
[03:42]<afvf9>anyone here?
[03:42]<afvf9>guess not
[06:30]<fyguwgnw2yn>liable:c-71-199-245-158:/usr/share/doc/module-assistant# apt-get install kernel-headers-$(uname -r) build-essentia
[06:30]<fyguwgnw2yn>Reading Package Lists... Done
[06:30]<fyguwgnw2yn>Building Dependency Tree... Done
[06:30]<fyguwgnw2yn>kernel-headers-2.6.8-3-386 is already the newest version.
[06:30]<fyguwgnw2yn>E: Couldn't find package build-essentia
[06:30]<fyguwgnw2yn>c-71-199-245-158:/usr/share/doc/module-assistant#
[06:31]<fyr2fn>linuxnewbie: add an 'l' to build essential
[06:31]<fyr2fn>build-essentail
[06:31]<fyguwgnw2yn>oops, lol, typo
[06:31]<fyguwgnw2yn>sorry
[06:33]<fyr2fn>linuxnewbie: now ls -l /usr/src
[06:36]<fyguwgnw2yn>liable: 2 kernel header folders and one kernel kbuild folder
[06:36]<fyguwgnw2yn>no files
[06:36]<fyguwgnw2yn>(plenty of files in the folders though)
[06:45]<fyguwgnw2yn>For 2.6 series kernel:
[06:45]<fyguwgnw2yn>a. run 'cd STA/Module'
[06:45]<fyguwgnw2yn> 'cp ./2.6.x/Makefile .'
[06:45]<fyguwgnw2yn> 'cp ./2.6.x/load .'
[06:45]<fyguwgnw2yn>b. $make -C /path/to/source SUBDIRS=$PWD modules
[06:45]<fyguwgnw2yn> Where /path/to/source is the path to the source directory for the (configured and built) targ$
[06:45]<fyguwgnw2yn>c. run '/sbin/insmod rt2500.ko' (as root)
[06:45]<fyguwgnw2yn> '/sbin/ifconfig ra0 inet YOUR_IP up'
[06:45]<fyguwgnw2yn>targ$ should be "target kernel"
[06:46]<fyguwgnw2yn>which is the line that confused me and lead me to ask for help in the first place :)
[06:46]<fyr2fn>linuxnewbie: copy and paste the first three commands
[06:46]<fyguwgnw2yn>did that already
[06:47]<fyr2fn>make -C /lib/modules/$(uname -r)/build SUBDIRS=$PWD modules
[06:48]<fyr2fn>does that give errors?
[06:50]<fyguwgnw2yn>c-71-199-245-158:/lib/RT2500-Linux-STA-1.4.6.4/Module# make -C /lib/modules/$(uname -r)/build SUBDIRS=$PWD modules
[06:50]<fyguwgnw2yn>make: Entering directory `/usr/src/kernel-headers-2.6.8-3-386'
[06:50]<fyguwgnw2yn> Building modules, stage 2.
[06:50]<fyguwgnw2yn> MODPOST
[06:50]<fyguwgnw2yn>make: Leaving directory `/usr/src/kernel-headers-2.6.8-3-386'
[06:50]<fyguwgnw2yn>c-71-199-245-158:/lib/RT2500-Linux-STA-1.4.6.4/Module#
[06:50]<fyr2fn>run depmod -a
[06:50]<fyr2fn>then modprobe -l |grep rt2500
[06:52]<fyguwgnw2yn>OK
[06:53]<fyguwgnw2yn>did that
[06:53]<fyr2fn>did the modprobe command output anything?
[06:53]<fyguwgnw2yn>nope
[06:54]<fyr2fn>i the directory you are in at the moment, is there a rt2500.ko file?
[06:54]<fyguwgnw2yn>yes
[06:55]<fyr2fn>cp ./rt2500.ko /lib/modules/$(uname -r)/net
[06:55]<fyr2fn>depmod -a
[06:55]<fyr2fn>actually, cp it to /extra rather than /net
[06:57]<fyguwgnw2yn>ok
[06:57]<fyr2fn>modprobe rt2500
[06:58]<fyguwgnw2yn>FATAL: modulea rt2500 not found
[06:58]<fyr2fn>did you run depmod -a?
[06:58]<fyguwgnw2yn>yes
[06:58]<fyr2fn>ok, run ./load
[06:59]<fyguwgnw2yn>c-71-199-245-158:/lib/RT2500-Linux-STA-1.4.6.4/Module# ./load
[06:59]<fyguwgnw2yn>SIOCSIFADDR: No such device
[06:59]<fyguwgnw2yn>ra0: ERROR while getting interface flags: No such device
[06:59]<fyguwgnw2yn>ra0: ERROR while getting interface flags: No such device
[06:59]<fyguwgnw2yn>SIOCADDRT: Network is unreachable
[07:00]<fyr2fn>ok, sec, i am compiling it myself
[07:00]<fyguwgnw2yn>k
[07:02]<fyr2fn>erm, the install bit you showed me a different to the one i have
[07:02]<fyr2fn>what driver did you download?
[07:06]<fyguwgnw2yn>RT2500-Linux-STA-1.4.6.tar.gz
[07:06]<fyr2fn>http://www.ralinktech.com/drivers/Linux/RT61_Linux_STA_Drv1.0.4.0.tar.gz
[07:06]<fyr2fn>thats ^^ the one you need
[07:07]<fyr2fn>rm the one you have
[07:07]<fyguwgnw2yn>oh... um... darn
[07:08]<fyguwgnw2yn>I was using the wrong driver the whole time?
[07:08]<fyr2fn>yes
[07:09]<fyguwgnw2yn>sorry
[07:09]<fyguwgnw2yn>Did I mention Im a newbie
[07:09]<fyr2fn>get the new one, read the readme, ping me if you have trouble.
[07:09]<fyguwgnw2yn>ok, thanks
[07:10]<fyr2fn>dont cp the .dat files over, just make the modules, and copy the firmware and see if it works. (well you can do the .dat if you like)
[07:11]<fyguwgnw2yn>*nods*
[07:26]<ggjup>liable: the dat files are the .ko (kernel object) files ?
[07:28]<fyr2fn>no the *.dat file
[07:28]<fyr2fn>its just a configuration file, shouldnt be needed
[07:31]<ggjup>liable: Oh ok -- thanks for clarification on that...it'll come in handy when I finally try a full kerenl compile - or even some driver
[07:31]<ggjup>kernel*
[07:32]<fyguwgnw2yn>ugh
[07:35]<ggjup>linuxnewbie: me ??
[07:37]<fyguwgnw2yn>enouf: heh, I'm just having problems again already
[07:38]<ggjup>linuxnewbie: ok -- I know you can work through it with all the knowledgeable help (people) around
[07:38]<ggjup>;-)
[07:40]<fyguwgnw2yn>I got as far as "make" then everything went wrong
[07:40]<fyr2fn>i was supposed to be 'make all'
[07:41]<fyguwgnw2yn>that went fine
[07:41]<fyguwgnw2yn>the copy the firmware... well, it said the directory didn't exist, so I made manually
[07:42]<fyr2fn>thats ok
[07:43]<fyguwgnw2yn>then dos2unix rt61sta.dat... it said no such command but you said not to worry about the dat file so I skipped that
[07:43]<fyr2fn>its a shitty readme
[07:43]<fyguwgnw2yn>'then the load part which didn't work at all







