VectorLinux
September 30, 2014, 02:20:52 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Autostart RC1 Wicad Manager?  (Read 1864 times)
adamlau
Member
*
Posts: 15


« on: January 03, 2009, 03:51:47 pm »

I have to manually connect to my (single interface) network (router to ISP) upon every reboot. This does not seem right. Is there a:

Code:
ifup eth0

equivalent command I must add to rc.local in order to start the network upon login? Is there a more elegant solution?
« Last Edit: January 03, 2009, 09:31:47 pm by adamlau » Logged
bigpaws
Vectorian
****
Posts: 1850


« Reply #1 on: January 03, 2009, 05:06:47 pm »

You can add the commands to /etc/rc.d/rc.local for example

ifconfig wlan0 up
dhcpcd wlan0

That is pretty much all you should need. You can also edit /etc/rc.d/rc.wireless.conf for the
wireless info and inet1.conf to add the card and the dhcpcd if needed.

You may also need wpa-supplicant for WPA settings there should be an example in
there. You can also call wpa_gui for a gui setup.

Bigpaws
Logged
caitlyn
Packager
Vectorian
****
Posts: 2876


WWW
« Reply #2 on: January 03, 2009, 06:03:44 pm »

Yes, there is a more elegant solution.  Go into the Control Center (vasmCC).  Select Service, select Services, choose your default runlevel (4 for most users) and check the box next to wicd:wicd daemon.  wicd will automagically start and your network will come up on the next boot.  If your network is wireless you'll also have to check the box that says "Automatically connect to this network" directly below the listing for your essid.

That's it!
Logged

eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1
adamlau
Member
*
Posts: 15


« Reply #3 on: January 04, 2009, 12:25:34 am »

No go. The wicd daemon option was always checked. ifconfig entries into rc.local are a no go as well. What is the command run when the user click 'Connect' in the Wicad Manager?
« Last Edit: January 04, 2009, 03:02:04 am by adamlau » Logged
bigpaws
Vectorian
****
Posts: 1850


« Reply #4 on: January 04, 2009, 07:50:01 am »

What commands do you use to connect?

No need for ip, essid or keys

Example:

ifconfig wlan0 up
ifconfig wlan0 essid xxxx
ifconfig wlan0 key xx:xx:xx:xx:xx
dhcpcd wlan0

Bigpaws
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!