LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-20-2014, 01:26 PM   #1
TDMBG
Member
 
Registered: Feb 2007
Distribution: CentOS
Posts: 34

Rep: Reputation: 17
Wireless interface used for hotspot loses IP address


Hello,
I am running Raspbian on a Raspberry Pi, and I use udhcpd and hostapd to make a wireless hotspot. After some configuration, I got it to work perfectly for a few days, but then an incredibly strange, at least to me, problem started to occur. My Pi would not accept any connections after reboot. After some playing around, I figured out a workaround - I had to change the wireless channel in hostapd.conf after reboot and restart the service... what?! This seemed ridiculous so after a few test I discovered that after reboot, if I don't change the channel, the first time a device tries to connect, the wlan0 interfaces loses its IP address. How?! It is set up in /etc/network/interfaces with static IP address and netmask.
Any wild (or well calculated educated) guesses on this would be much appreciated...
 
  


Reply



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
Wireless Network with Cellular Wireless Hotspot CVAlkan Linux - Networking 5 12-04-2013 01:18 PM
[SOLVED] How to forget wireless hotspot riseringseeker Linux - Networking 4 11-29-2012 09:12 AM
[SOLVED] Network Interface Loses Static IP Address When Cable Is Removed D1ver Linux - Networking 2 02-22-2012 11:21 PM
opensuse11.1 loses network connection but retains ip address kaplan71 SUSE / openSUSE 6 01-16-2009 09:45 AM
SHOREWALL - Standard two-interface loses shares in SMB4K turnbui Linux - Networking 0 07-20-2005 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:07 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration