SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello all,
First of all, happy 2013!
At work I use a Dell Latitude E6420 laptop that has the following Wireless LAN Controller:
Code:
# lspci -vnn
03:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
Subsystem: Dell Inspiron M5010 / XPS 8300 [1028:0010]
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at e6d00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information: Len=78 <?>
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-57-ff-ff-5f-44-6d
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: wl
I installed Slackbuild.org's broadcom-sta driver and it provided me wl driver.
I use this laptop on the wired network, but there are also some very weak wireless signals at the office I like to use for my phone and tablet, so I'd like to use the wireless adapter as an AP for my wifi gadgets.
However, when I attempt to start hostapd, the following happens:
Code:
root@cpc-7863:~# /etc/rc.d/rc.hostapd start
Starting HOSTAPD: /usr/sbin/hostapd -B -P /var/run/hostapd.pid /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ioctl(SIOCGIFINDEX): No such device
hostap driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
ELOOP: remaining socket: sock=4 eloop_data=0x1721150 user_data=(nil) handler=0x4366a0
root@cpc-7863:~#
I also tried to change /etc/hostapd/hostapd.conf driver entry from 'nl80211' to (default) 'hostap' and interface from wlan0 to eth1 as stated on ifconfig / iwconfig bellow.
@frankbell, I'm sorry I was unable to make myself clearer. I want to configure my notebook as an AP for my mobile devices when I'm connected to the internet on the wired (eth0) interface, but something has gone awry.
@Richard Cranium,
logging output, I think so...
/etc/rc.d/rc.inet1.conf, all configs are empty
/etc/hostapd/hostapd.conf is attached (just remove the .txt extension).
Before using too much time on this, see if your device actually supports the AP function.
Run as root this command (you vil get a lot of output) - look for Supported interface modes:
Code:
iw phy phy0 info
...
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* WDS
* monitor
* mesh point
...
This output is for a D-Link Corp. - Ralink USB device.
@frankbell, I'm sorry I was unable to make myself clearer. I want to configure my notebook as an AP for my mobile devices when I'm connected to the internet on the wired (eth0) interface, but something has gone awry.
No no no! I misread your post. You were quite clear. I was a dunderhead.
@ml4711, apparently this laptop isn't very wireless friendly on Slackware. I see the WiFi led on, but wicd won't find any networks. Also, when I attempt either of the following commands:
@ml4711, apparently this laptop isn't very wireless friendly on Slackware. I see the WiFi led on, but wicd won't find any networks. Also, when I attempt either of the following commands:
Code:
# iw list
# iw phy phy0 info
I get this:
Code:
Code:
nl80211 not found.
Now I wonder, shouldn't nl80211 be available after installing SlackBuild's broadcom-sta package?
No - that wireless adapter just doesn't work with iw,
because it obviously does not (yet?) use nl80211 (code written and compiled against nl80211.h).
With this device you can only use the old tools iwconfig / iwlist.
@ml4711, apparently this laptop isn't very wireless friendly on Slackware. I see the WiFi led on, but wicd won't find any networks. Also, when I attempt either of the following commands:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.