Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-31-2005, 09:41 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Location: Ohio,USA
Distribution: SuSE Linux 9.2
Posts: 10
Rep:
|
DHCP Script
I run Suse 9.2. I have a DSL connection and I'm using DHCP to get my IP address for the internet from my router. This process is suppose to happen at boot but I can't figure out why it isn't. In any case I can run dhcpcd and get the internet working. I'm really new at Linux so I need to know how to do a few things. The first is to make dhcpcd usable by all users on the system, presently only root has access. I also need to wright a script that will run dhcp and get the internet working, case being that other users on the system don't know how and need something they can just click. If anyone can help on either subject it would be a great help. Knowing what the problem is at boot would be really good too. dhcp works sometimes at boot but at other times it fails. There is also a problem every time dhcp is run that seems to be concerned with ipv4 or something of that nature but it doesn't seem to hurt the internet connection or impair my firewall in any way. Thank you for your time!
|
|
|
08-31-2005, 10:04 PM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Is your DSL router properly connected when dhcpcd is being run? In order for all users to run dhcpcd, you'll have to make it setuid, but this could pose a security risk (though unlikely). You could create a desktop icon that runs "dhcpcd eth0" or as needed for your system.
|
|
|
08-31-2005, 10:44 PM
|
#3
|
Member
Registered: Feb 2003
Location: United States
Distribution: RHEL, Slackware, Gentoo, Fedora, CentOS, Ubuntu, Debian
Posts: 66
Rep:
|
This is the problem here, why the hell would you make a desktop icon for it? This isn't windows. If you want an icon, install XP.
try adding dhcpcd eth0 to the /etc/rc.d/rc.local or one of the other files which runs programs on boot (not sure what suse uses) but that would make it start at boot.
If you want it to start at boot, then you add it to init scripts, not to your freakin desktop. You shouldnt have a desktop anyways, but to each his own.
|
|
|
08-31-2005, 11:57 PM
|
#4
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Quote:
Originally posted by Darvocet
You shouldnt have a desktop anyways, but to each his own.
|
I am curious why you say this. I consider myself an experienced linux user of 7 years, and do prefer the command line myself. Are you arguing against GUIs or just Desktops?
|
|
|
09-01-2005, 12:07 AM
|
#5
|
Member
Registered: Feb 2003
Location: United States
Distribution: RHEL, Slackware, Gentoo, Fedora, CentOS, Ubuntu, Debian
Posts: 66
Rep:
|
Quote:
Originally posted by Matir
I am curious why you say this. I consider myself an experienced linux user of 7 years, and do prefer the command line myself. Are you arguing against GUIs or just Desktops?
|
Yes allow me to clarify, I am against GUI for linux. I realize that they now have some functionality, but I feel that if a user can't do it in command line they have no business in linux in the first place.
|
|
|
09-01-2005, 10:30 AM
|
#6
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Well, I do not want to get into a debate here and drag this thread down, but I'll just say everyone has their own opinion.
|
|
|
09-05-2005, 02:30 AM
|
#7
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Originally posted by Darvocet
This is the problem here, why the hell would you make a desktop icon for it? This isn't windows. If you want an icon, install XP.
try adding dhcpcd eth0 to the /etc/rc.d/rc.local or one of the other files which runs programs on boot (not sure what suse uses) but that would make it start at boot.
If you want it to start at boot, then you add it to init scripts, not to your freakin desktop. You shouldnt have a desktop anyways, but to each his own.
|
Could you please tone this down a bit? You're not REALLY
helping him here, and for opinions there's General, or threads
that were started for that purpose. He did express that it is
being run, but that it sometimes fails to get a lease.
Cheers,
Tink
|
|
|
All times are GMT -5. The time now is 11:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|