Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Dynamic Network Config
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Dynamic Network Config
27th Jan, 2014, 08:01 PM
Post: #1
mdkeil Offline
Registered
Posts: 5
Joined: Jan 2014
Reputation: 0
Lightbulb Dynamic Network Config
Hello,

first I want to say thank you for the nice rasPi-OS. I'm using it since yesterday with no further problems.

At the moment I used two different network profiles and I wanna try to change the config with automatic events.

1. Profile: Xbian used local Wifi-Connection (wlan0 dhcp) (works)
2. Profile: XBian used the "usb-tethered" (usb0) inet-connection from my smartphone and operates in AP-mode (wlan0 static IP + hostapd + dhcpd) to forward the inet to all user of the AP (works)

Now I need some help to make this automatically.

1) hot plug usb0 -> switch from local wifi-connection (or whatever ;D ) to AP-mode on with forwarding usb0-inet
2) usb0 down -> AP-mode off -> switch to local wifi-connection if available
3) no local wifi-connection available and usb0 down -> AP-mode on, without forward any inet-connection

I can allways connect to raspi via ssh now. Therefore I need some scripting help.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Dynamic Network Config - mdkeil - 27th Jan, 2014 08:01 PM
RE: Dynamic Network Config - IriDium - 2nd Feb, 2014, 03:26 AM
RE: Dynamic Network Config - mk01 - 3rd Feb, 2014, 10:19 AM
RE: Dynamic Network Config - mdkeil - 3rd Feb, 2014, 03:59 PM
RE: Dynamic Network Config - mk01 - 3rd Feb, 2014, 05:14 PM
RE: Dynamic Network Config - mdkeil - 15th Feb, 2014, 10:57 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th Jun, 2025, 01:11 AM Powered By MyBB, © 2002-2025 MyBB Group.