Re: [newbie] correct way of setting hostname and using dhcpcd?
On Saturday 29 Mar 2003 7:00 am, stormjumper wrote: thanks derek. i checked out /etc/sysconfig/network-scripts/ifcfg-eth0 apparently DHCP is enabled, i think BOOTPROTO=dhcp so i was wrong in assuming that dhcp isn't enabled. however, since dhclient and dhcpcd are installed and they both work, i've no idea why eth0 fails during init, but works after that by running dhclient or dhcpcd. do you/anyone have any idea why? is anyone else have strange problems with networking in 9.1? i ask this because, unlike 9.0, 8.2 and 8.1, i wasn't asked networking information during at end of installation, and this seems somewhat strange to me. Is the network service set to run on boot?, and I assume eth0 is set to start on boot. derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] correct way of setting hostname and using dhcpcd?
yes to both questions, if what you're refering to are eth0 is set to start on boot in ifcfg-eth0 ONBOOT=yes network is ON in runlevels 3 4 5 using chkconfig - Original Message - From: Derek Jennings [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 17:35 Subject: Re: [newbie] correct way of setting hostname and using dhcpcd? On Saturday 29 Mar 2003 7:00 am, stormjumper wrote: thanks derek. i checked out /etc/sysconfig/network-scripts/ifcfg-eth0 apparently DHCP is enabled, i think BOOTPROTO=dhcp so i was wrong in assuming that dhcp isn't enabled. however, since dhclient and dhcpcd are installed and they both work, i've no idea why eth0 fails during init, but works after that by running dhclient or dhcpcd. do you/anyone have any idea why? is anyone else have strange problems with networking in 9.1? i ask this because, unlike 9.0, 8.2 and 8.1, i wasn't asked networking information during at end of installation, and this seems somewhat strange to me. Is the network service set to run on boot?, and I assume eth0 is set to start on boot. derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] correct way of setting hostname and using dhcpcd?
On Saturday March 29 2003 01:00 am, stormjumper wrote: i checked out /etc/sysconfig/network-scripts/ifcfg-eth0 apparently DHCP is enabled, i think BOOTPROTO=dhcp so i was wrong in assuming that dhcp isn't enabled. however, since dhclient and dhcpcd are installed and they both work, i've no idea why eth0 fails during init, but works after that by running dhclient or dhcpcd. do you/anyone have any idea why? is anyone else have strange problems with networking in 9.1? i ask this because, unlike 9.0, 8.2 and 8.1, i wasn't asked networking information during at end of installation, and this seems somewhat strange to me. I'm probly the wrong one to answer this, cause I don't understand what's going on lately. All thru the 9.1 development, I never had any problems with adsl/dynamic/pppoe. Then with RC2, I still had no problem but many people did. I started hopin they wouldn't screw it up tryin to fix problems _other_ people were havin ;) I did a fresh install of 9.1 yesterday, even tho I was already running cooker 9.1 final. Sure enough, minor problem with the connection. eth0 on first boot took forever to initialize, but eventually did. Early on in 9.1 development, before beta1 IIRC, for a month or so bootup would pause at eth0, and after about a minute, eth0 would fail. Amazingly, it was up when the boot process was finished, and my connection worked. Changing BOOTPROTO=dhcp to =static fixes this. BUT it *shouldn't*. I definitely have a dynamic IP, pppoe connection. Still, now eth0 initializes almost instantly during boot. dhcp-client-3.0-2pl2.5mdk dhcp-common-3.0-2pl2.5mdk are installed, as they have been all a long in the 9.1 development. dhcpd isn't, never has been. Fortunately I saved all my old connection related config files, including ifcfg-eth0. That's where I got the idea to change to BOOTPROTO=static. Still seems back asswards tho ;) /etc/hosts 10.0.0.10 localhost.localdomain localhost 127.0.0.1 localhost After the install yesterday, only the first line above was in that file. Checking my old saved 'hosts', it also had the second line. So I overwrote /etc/hosts with the saved file. But with or without that second line, the connection still worked. It's been my experience over the years that changing hostname from the default localhost.localdomain causes nothin but problems sooner or later ;) Yes, I realize for some of you it's not an option to use the default hostname. During install (not as expert), I wasn't asked to setup a connection either. Fortunately I knew to click on the connection button at the summary screen. Then I was presented with a few screens asking for provider, userID, password, dynamic/static, etc. IIRC I wasn't asked for timezone til I clicked on that in the summary screen either. I believe it's fine doin these configurations at the summary screen, but there should be a clear instruction at that point to do so. 'Course it's NBFD, you can do these things afterwards in Mdk Conrol Center. -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] correct way of setting hostname and using dhcpcd?
On Friday 28 Mar 2003 4:20 pm, stormjumper wrote: i just set up a minimal installation of 9.1, using the normal install, but selecting a very limited number of packages and no X. during install, i wasn't asked for hostname and networking information, so although my network card is loaded correctly, hostname is localhost, and eth0 fails to load during boot (expected as no ip is configured). i know how to use hostname, and dhcpcd, and the system works as desired. so far, i'm dumping these commands at the bottom of /etc/rc.local, but i'm wondering if someone can tell me how mandrake keeps these settings, say if i configure networking from mcc (if i had X.) Your network settings including dhcp are stored in /etc/sysconfig/network-scripts/ifcfg-eth0 Just put what you need in there and they will be activated when the network service starts. I have not yet worked out where the hostname gets set. derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] correct way of setting hostname and using dhcpcd?
On Friday 28 Mar 2003 4:20 pm, stormjumper wrote: i just set up a minimal installation of 9.1, using the normal install, but selecting a very limited number of packages and no X. during install, i wasn't asked for hostname and networking information, so although my network card is loaded correctly, hostname is localhost, and eth0 fails to load during boot (expected as no ip is configured). i know how to use hostname, and dhcpcd, and the system works as desired. so far, i'm dumping these commands at the bottom of /etc/rc.local, but i'm wondering if someone can tell me how mandrake keeps these settings, say if i configure networking from mcc (if i had X.) You can still use the Mandrake tools even though you are using command line. Just type drakconnect and you can configure Dhcp and hostname. (Although I think you may need to install the drakxtools RPM) derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] correct way of setting hostname and using dhcpcd?
thanks derek. i checked out /etc/sysconfig/network-scripts/ifcfg-eth0 apparently DHCP is enabled, i think BOOTPROTO=dhcp so i was wrong in assuming that dhcp isn't enabled. however, since dhclient and dhcpcd are installed and they both work, i've no idea why eth0 fails during init, but works after that by running dhclient or dhcpcd. do you/anyone have any idea why? is anyone else have strange problems with networking in 9.1? i ask this because, unlike 9.0, 8.2 and 8.1, i wasn't asked networking information during at end of installation, and this seems somewhat strange to me. oh, and btw, urpmi.setup is a very useful little proggie. thanks for the recommendation in your other post, derek. - Original Message - From: Derek [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 02:55 Subject: Re: [newbie] correct way of setting hostname and using dhcpcd? On Friday 28 Mar 2003 4:20 pm, stormjumper wrote: i just set up a minimal installation of 9.1, using the normal install, but selecting a very limited number of packages and no X. during install, i wasn't asked for hostname and networking information, so although my network card is loaded correctly, hostname is localhost, and eth0 fails to load during boot (expected as no ip is configured). i know how to use hostname, and dhcpcd, and the system works as desired. so far, i'm dumping these commands at the bottom of /etc/rc.local, but i'm wondering if someone can tell me how mandrake keeps these settings, say if i configure networking from mcc (if i had X.) Your network settings including dhcp are stored in /etc/sysconfig/network-scripts/ifcfg-eth0 Just put what you need in there and they will be activated when the network service starts. I have not yet worked out where the hostname gets set. derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com