Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello, I have a ARM Linux based cell phone with an Atheros AR6000 wifi chipset inside. I want to use it to share my internet connection, but never mind about that. Does anyone know if it's possible to either create an Access Point or create an Ad-Hoc connection so I can connect to it with my laptop? If so, how? I looked up iwconfig, trying 'iwconfig wlan0 mode Master essid "Access_Point"', but that didn't work. I don't mind recompiling the kernel or drivers, just tell me if it's possible at all. Thanks!
Hi, I recently made an AP from an atheros chip using the ath9k driver (check support for your chip). This driver, using the new wireless stack, doesn't support Master mode directly, but through hostapd. Hostapd comes with a pretty well documented *.conf file, so it's not too hard to set up.
I looked at my current ath6k driver, and it looks like it supports both AP and iBSS mode. If I use 'iwconfig wlan0 mode Ad-Hoc essid TEST channel 8', and then 'iwconfig', nothing changes. What's the correct way of creating an ad-hoc network with iwconfig?
(only partial output) I haven't yet figured out how the phy0 part selects its number, the first driver loaded gets 0, the second 1... I have never used more than one argument at a time with iwconfig. As such, I'd do 3 commands where you do one (not sure it makes a difference, can't hurt to try) :
#iwconfig wlan0 mod Ad-hoc
#iwconfig wlan0 channel 8
#iwconfig wlan0 essid test
This way you can also see which step went wrong (if any does). Then try to set an IP address using ifconfig.
Ok, so I managed to create an Ad-Hoc access point. Now how do I share my internet connection? Do I need dhcp-server if I want to assign ip?
I connected to the ad-hoc network "test" created by my cell phone. On the phone, I sat wlan0 with a static ip of 192.168.1.2. On my PC, I connected and sat a static ip of 192.168.1.3. However, from my computer, I can't ping 192.168.1.2.
check your phone's firewall settings. Try disabling the firewall on the computer, and pinging it from the phone. To shar your internet connection, you'll have to set up routing using the "route" command (or installing a DNS server) and Network Address Translation (firewall : iptables?).
Thanks, it works now. problem was that I needed to set gateway to 0.0.0.0 (don't know why). Last problem: the software on the phone no longer have access to the wifi. I want to manually start and stop broadcasting to save battery. What's the best iwconfig command to control broadcasting on/off/power level? I see iwconfig wlan0 power xxx and txpower. But I don't know how to use it. I want to be able to: 1) turn transmission on/off and 2) control how powerful the transmission is