Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Sorta Newbie
helopilot73
post Aug 5 2004, 07:51 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 5-August 04
Member No.: 3,492



OK, So I'm not TRULY a newbie in that I have a degree in CS and have a lot of experience with UNIX. HOWEVER, still need a little help.

Got Linux Mandrake 10.0 with KDE installed, dual booting with XP Pro, and I've got my wireless network working. However, I must run the following script as root (either by logging in, or using su) - "netconfig.sh home". Is there a way I can set it up so it runs it on bootup of linux and/or KDE? This way, I don't have to bother with it, and my wireless network is working when I login to KDE?
Go to the top of the page
 
+Quote Post
wonks
post Aug 5 2004, 08:48 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 12
Joined: 26-January 04
Member No.: 2,236



hi hope this is helpful,

(1) Checked that you have enabled the PCMCIA service on startup.
KMenu -> System Settings -> Server Settings -> Services
make sure there's a tick besides the pcmcia service box.

(2) You're using wireless nic, so i assume it should be eth1, vi /etc/sysconfig/network-scripts/ifcfg-eth1
make sure ONBOOT=yes

(3) Or you can run your script "netconfig.sh home" in /etc/rc.d/rc.local that's the last script that will be executed when linux boots up.

cheers
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 6 2004, 06:33 AM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



You can do this to make it run as well:

edit the file /etc/rc.d/rc.local and put this in the bottom of the file:

full_path_to/netconfig.sh home

You might also need to make sure that a PATH statement is near the top of either netconfig.sh or rc.local that has at least this:

PATH=/bin:/usr/bin:/sbin:/usr/sbin

If you need to run this as a user other than root from rc.local (for a driver you probably need to be root, and this is not applicable, but just for info) it would be like this:

su - username -c "full_path_to/netconfig.sh home"


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
helopilot73
post Aug 7 2004, 08:38 AM
Post #4


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 5-August 04
Member No.: 3,492



That worked exactly how I wanted it to, thanks for the help!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th December 2017 - 10:15 AM