|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Netstart / Required Reboots on Interface Changes
I've been taking my laptop around and accessing a wide array of access points. My method of switching interfaces has been something like so:
Code:
> cp /etc/hostname.rum0 /etc/hostname.rum0.home > vi /etc/hostname.rum0 #adding in the new connection information > sudo sh /etc/netstart rum0 However, when I restart my machine, it connects right away. In reading netstart(8), it says that netstart is invoked after after single user mode is exited / during system boot. I looked at /etc/rc, and it simply does a ". /etc/netstart" (however, it does look like it does a /usr/sbin/dhcpd as well, and I haven't tested running that as well). Any ideas before I start digging in deeper? I'd like to be able to run a simple user inputted ksh script when I travel around to: 1. Find access points 2. Connect to (x) access point 3. Prompt and enter credentials 4. Backup existing access points 5. Etc I don't think something like that exists yet as far as I can tell. Suggestions welcome! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dos batch file administrator privileges required | a6zj6 | Other OS | 1 | 12th June 2009 02:02 PM |
NAT with only one interface | zapov | General software and network | 4 | 16th February 2009 03:45 AM |
Required packages for running X | enpey | FreeBSD Ports and Packages | 7 | 20th August 2008 09:16 AM |
Constant Kernel Panics, Corupted file system reboots over and over | pseudonym | FreeBSD General | 24 | 14th July 2008 03:12 AM |
Web interface for pf? | windependence | OpenBSD Security | 4 | 20th May 2008 03:58 AM |