LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 12-30-2012, 08:07 PM   #1
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,290

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Need help installing rtl8192SU LFS7.2


I just finished Lfs 7.2 moving on to Blfs.
Build on amd-64 no physical access to router.
I have a usb wireless device model DWA-132 by dlink the device works fine in Debian squeeze & wheezy. In Wheezy I had to install libiw & copied the rtl8192su driver into /lib/firmware. I haven't seen any documentation in Blfs that addresses usb-wireless networking.
I was looking at kernel-config there's an option for support for rtl8192 but not for the rtl8192su

Edit
I'm going to recompile kernel as I see if the rtl8192cu driver will work.

I recompiled with the rtl8192cu driver still getting
Quote:
Interface wlan0 doesn't exist. FAIL

Last edited by EDDY1; 12-30-2012 at 10:08 PM.
 
Old 12-31-2012, 02:51 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Hi eddy

I presume you have installed wireless tools from blfs and created the file /etc/sysconfig/wlan to start with
 
Old 12-31-2012, 03:20 AM   #3
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,290

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Yes but since you brought it up, I looked at it & I belive I set up wrong it's listed as ifconfig.wlan0 Ithink it should've been iwconfig.wlan0.

Being that this a usb device & no other connection available are there any other steps that I have to take, I've already installed usb-utils & wireless-tools

Last edited by EDDY1; 12-31-2012 at 03:22 AM.
 
Old 12-31-2012, 03:25 AM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
I am looking, as i dont have the usb device not much help with drivers,etc

The driver you have used did you build it as a module ?

Last edited by spiky0011; 12-31-2012 at 03:28 AM.
 
Old 12-31-2012, 03:38 AM   #5
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,290

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
It's built into kernel, not as a module.
 
Old 12-31-2012, 04:53 AM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Hi

What is the output of
Code:
dmesg | tail
when you attach device
 
Old 01-11-2013, 02:54 PM   #7
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 465

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by EDDY1

I was looking at kernel-config there's an option for support for rtl8192 but not for the rtl8192su
You are probably long gone from the subject of this thread. But anyway, there is a driver for that chipset amongst the staging drivers of the 3.7.0 kernel. Probably worth a try.
rtl8192su.jpg
Other stuff on that Debian page in the screenshot mention firmware. For Debian it is provided by a .deb package. Your Debian systems probably have it and can supply it by simple copying. I would identify the firmware files needed by the driver and duplicate its exact sub-folder in the LFS /lib/firmware folder. You may have done this already. In your first post you said you copied the "driver" to /lib/firmware. Of course you probably meant firmware, and maybe you copied appropriate firmware to a proper sub-folder.

Quote:
Originally Posted by EDDY1

I haven't seen any documentation in Blfs that addresses usb-wireless networking.
IMO, just getting a USB wireless adapter to work in LFS is not special. At least it wasn't for me. It was just the usual driver and firmware issues already mentioned, a rule for wlan0 in /etc/udev/rules.d/70-persistent-net.rules, a proper ifconfig file (yes, it really IS ifconfig.wlan0, not "iwconfig.wlan0"), and proper wpa_supplicant.config file and commands. Especially so if the wireless device is sort of permanently attached (my situation). The network init script (via a call to ifup) reads ifconfig.wlan0 at boot and brings up the interface, and a wpa_supplicant command in $HOME/.bash_profile negotiates and establishes a connection. But if you intend hot-plug and unplug it, then other methods may be needed (I didn't need to bother).

Last edited by stoat; 01-12-2013 at 10:45 AM.
 
Old 01-11-2013, 08:34 PM   #8
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,290

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Quote:
You are probably long gone from the subject of this thread. But anyway, there is a driver for that chipset amongst the staging drivers of the 3.7.0 kernel. Probably worth a try.
Not long gone from subject but on back burner for a while, just started working a lot of hours & helping friends with their computers.
 
Old 01-23-2013, 01:17 AM   #9
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,290

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Hey stoat I still haven't abanoned project will get back to it nexy week, although I will start by getting ethernet connction first, need a 50ft cord, for some reason ir"s harder to get a usb wireless running than a regular wireless card.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] About booting of LFS7.2 swatch Linux From Scratch 22 12-10-2012 08:41 PM
About booting of LFS7.2 swatch Linux From Scratch 1 12-07-2012 06:47 AM
are these warnings harmful for building LFS7.1 ? k84834 Linux From Scratch 2 08-18-2012 06:43 AM


All times are GMT -5. The time now is 10:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration