LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Network device settings gone after reboot (https://www.linuxquestions.org/questions/linux-wireless-networking-41/network-device-settings-gone-after-reboot-665307/)

nuffnuff 08-25-2008 02:09 PM

Network device settings gone after reboot
 
Hi Folks!
I've got a (simple) question:

I'm using DSL on my old Compaq laptop and I want to
connect to my local Wlan network using a Netgear PCMCIA Card.

I got everything configured and working with ndiswrapper,
even WPA works with wpa_supplicant.

But I still got one problem:
After every reboot, when I connect to my Wlan, I cannot
view any Website until I start the tool "netcardconf" (in DSL),
choose wlan0 as the interface and activate DHCP Broadcasting.
After this, everything works great, but as I said, only until the next
reboot, and I just can't figure out where these settings are saved (I already tried /etc/network/interfaces without success).

So all I need to know is how i can save the "use DHCP broadcasting"
setting for wlan0.

I hope someone can help me ;)

p.s: Excuse my bad english, i'm German :)

klearview 08-25-2008 03:02 PM

Check this out first:

http://www.damnsmalllinux.org/wiki/i..._Configuration


Now, if you cannot figure out where the configuration files for the settings you want to change are (this is applicable not just to dsl but to any distro) here is a little tip:

create a new file, for example:

Code:

touch /tmp/sherlock_holmes
then run your configuration utility (i.e. netcardconf in your case) and make sure it saves new configuration.

now find all the files that were modified AFTER we created /tmp/sherlock_holmes:

Code:

find / ! -fstype proc -newer /tmp/sherlock_holmes
(last command must be run as root if you want to search the whole / . In this command we also exclude /proc from search since it would give us every single file in /proc!. Alternatively you can just search separate directories i.e. to search which files have been changed in /etc do: 'find /etc -newer /tmp/sherlock_holmes).

Now that you know where your config files are use dsl guide to save them! Hope this helps.


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