You are not logged in.
Hi
I have a problem and hope someone can help please.
I use net-profiles to start my network as I find that other tools like WICD drop my connection.
My problems is this - the network is never picked up when I resume after I suspend to RAM with pm-suspend - how can I get it to do that?
Thanks in advance for any help
Sorry if this is the wrong forum.
Last edited by Bazzaah (2011-03-10 07:16:56)
Offline
This is a simple script i use to start my network.
for hardwire
#!/bin/bash
rm /var/run/dhcpcd-eth0.pid
ifconfig eth0 up
dhcpcd eth0
for wireless
#!/bin/bash
rm /var/run/dhcpcd-wlan0.pid
ifconfig wlan0 up
iwconfig wlan0 essid network key password
dhcpcd wlan0
network = your networks name and password = your key
after saving the files make them executable
chmod u+x file
This may come off as complicated and time consuming, but after you set it up it only takes five or six seconds to start your network.
When you boot/resume just go to terminal and execute.
sudo bash file
Hope this helps.
Offline
Excellent, thanks.
I made a similar script (though adapted for wpa_supplicant) but didn't remove the dhcpcd-wlan0.pid file - that will sort it out.
Thanks for your help.
Last edited by Bazzaah (2011-03-10 07:21:14)
Offline
Hay folks..
how do you make the script to auto run after suspend?
thanks in advance
Offline