[expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread Rolf Pedersen
Hi, I was just provisioned with a cable modem/account, which uses dhcp, and my bash prompt now looks like: [EMAIL PROTECTED] where the part starting with 00 is the HWaddr of eth0, according to ifconfig. Heretofore, it has been '@localhost' on this single, non-networked machine. In /var/lib/dhcp/

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread Dave Sherman
Rolf Pedersen wrote: Hi, I was just provisioned with a cable modem/account, which uses dhcp, and my bash prompt now looks like: [EMAIL PROTECTED] where the part starting with 00 is the HWaddr of eth0, according to ifconfig. Heretofore, it has been '@localhost' on this single, non-networked machi

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread Rolf Pedersen
Dave Sherman wrote: Rolf Pedersen wrote: Hi, I was just provisioned with a cable modem/account, which uses dhcp, and my bash prompt now looks like: [EMAIL PROTECTED] where the part starting with 00 is the HWaddr of eth0, according to Yes. Your cable company's dhcp server knows your ethernet MAC

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread James T. Nelson III
Try adding a DHCP_HOSTNAME= entry to the /etc/sysconfig/network-scripts/ifcfg-eth0 file with the hostname Comcast is providing you. The ifup script will send this when it does the DHCP negotiation instead of the hostname you've selected for your machine. JN On Sat, 2003-08-16 at 13:44, Rolf Pede

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread Bill Mullen
On Sat, 16 Aug 2003, Rolf Pedersen wrote: > I still have internet connectivity but the prompt and echo $HOSTNAME are > still the MAC address. Because you haven't restarted networking yet ("service network restart"). -- Bill Mullen [EMAIL PROTECTED] MA, USA RLU #270075 MDK 8.1 & 9.0 "The

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread Rolf Pedersen
James T. Nelson III wrote: Try adding a DHCP_HOSTNAME= entry to the /etc/sysconfig/network-scripts/ifcfg-eth0 file with the hostname Comcast is providing you. The ifup script will send this when it does the DHCP negotiation instead of the hostname you've selected for your machine. JN I am not foll

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread James Sparenberg
On Sat, 2003-08-16 at 11:44, Rolf Pedersen wrote: > Dave Sherman wrote: > > Rolf Pedersen wrote: > > > >> Hi, > >> > >> I was just provisioned with a cable modem/account, which uses dhcp, and > >> my bash prompt now looks like: > >> > >> [EMAIL PROTECTED] > >> > >> where the part starting with 00

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread James T. Nelson III
You can set your $HOSTNAME in /etc/sysconfig/network to whatever you want and then set a different name in /etc/sysconfig/network-scripts/ifcfg-eth0. You get to have your hostname of choice and your internet works. On Sat, 2003-08-16 at 14:45, Rolf Pedersen wrote: > James T. Nelson III wrote: >

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread Rolf Pedersen
Bill Mullen wrote: On Sat, 16 Aug 2003, Rolf Pedersen wrote: I still have internet connectivity but the prompt and echo $HOSTNAME are still the MAC address. Because you haven't restarted networking yet ("service network restart"). No, as I said in the part that you cut out: service networ

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread Rolf Pedersen
James T. Nelson III wrote: You can set your $HOSTNAME in /etc/sysconfig/network to whatever you want and then set a different name in /etc/sysconfig/network-scripts/ifcfg-eth0. You get to have your hostname of choice and your internet works. All right. I put DHCP_HOSTNAME=x1-6-00-03-xx-xx-xx-xx i

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread ed tharp
On Sat, 2003-08-16 at 16:27, James T. Nelson III wrote: Couldn't he set the prompt to whatever turns his crank in .bashrc? > You can set your $HOSTNAME in /etc/sysconfig/network to whatever you > want and then set a different name in > /etc/sysconfig/network-scripts/ifcfg-eth0. You get to have

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread James Sparenberg
On Sat, 2003-08-16 at 13:12, Rolf Pedersen wrote: > Bill Mullen wrote: > > On Sat, 16 Aug 2003, Rolf Pedersen wrote: > > > > > >>I still have internet connectivity but the prompt and echo $HOSTNAME are > >>still the MAC address. > > > > > > Because you haven't restarted networking yet ("service

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread Rolf Pedersen
James Sparenberg wrote: On Sat, 2003-08-16 at 13:12, Rolf Pedersen wrote: Bill Mullen wrote: On Sat, 16 Aug 2003, Rolf Pedersen wrote: I still have internet connectivity but the prompt and echo $HOSTNAME are still the MAC address. Because you haven't restarted networking yet ("service networ

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread Kiran
"hostname=My-Box-Name" (this is what sets your hostname in memory - man hostname) and if it doesn't connect anymore then get a DSL/CABLE router-firewall and let it set the hostname on that connection. If your connection works you may just put it in a script and re-run it after the network scripts h

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread Greg Meyer
On Saturday 16 August 2003 02:19 pm, Dave Sherman wrote: > You *might* be able to edit /etc/sysconfig/network-scripts/ifcfg-eth0 > and make sure there is in entry that looks like: > NEEDHOSTNAME=no > > You would also need to edit /etc/sysconfig/network, and set the > following entry (if it's n

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread Rolf Pedersen
Greg Meyer wrote: On Saturday 16 August 2003 02:19 pm, Dave Sherman wrote: You *might* be able to edit /etc/sysconfig/network-scripts/ifcfg-eth0 and make sure there is in entry that looks like: NEEDHOSTNAME=no You would also need to edit /etc/sysconfig/network, and set the following entry (if

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-16 Thread Rolf Pedersen
Kiran wrote: "hostname=My-Box-Name" (this is what sets your hostname in memory - man hostname) and if it doesn't connect anymore then get a DSL/CABLE router-firewall and let it set the hostname on that connection. If your connection works you may just put it in a script and re-run it after the netw

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-17 Thread Greg Meyer
On Saturday 16 August 2003 10:02 pm, Rolf Pedersen wrote: > Greg Meyer wrote: > > On Saturday 16 August 2003 02:19 pm, Dave Sherman wrote: > >>You *might* be able to edit /etc/sysconfig/network-scripts/ifcfg-eth0 > >>and make sure there is in entry that looks like: > >> NEEDHOSTNAME=no > >> > >

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-17 Thread Rolf Pedersen
Greg Meyer wrote: On Saturday 16 August 2003 10:02 pm, Rolf Pedersen wrote: Greg Meyer wrote: On Saturday 16 August 2003 02:19 pm, Dave Sherman wrote: You *might* be able to edit /etc/sysconfig/network-scripts/ifcfg-eth0 and make sure there is in entry that looks like: NEEDHOSTNAME=no You would

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-17 Thread Jim C
Thought of using the hostname command in a script executed at startup? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-17 Thread Rolf Pedersen
Jim C wrote: Thought of using the hostname command in a script executed at startup? That was one of my first thoughts and it does the trick in rc.local, with the side-effect of disabling auto-login. I just thought there should be a less-kludgy way of dealing with it. Thanks. Want to buy your

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-17 Thread Rolf Pedersen
Rolf Pedersen wrote: Jim C wrote: Thought of using the hostname command in a script executed at startup? That was one of my first thoughts and it does the trick in rc.local, with the side-effect of disabling auto-login. I just thought there should be a less-kludgy way of dealing with it. Than

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-17 Thread James Sparenberg
On Sun, 2003-08-17 at 12:45, Rolf Pedersen wrote: > Jim C wrote: > > Thought of using the hostname command in a script executed at startup? > > > That was one of my first thoughts and it does the trick in rc.local, > with the side-effect of disabling auto-login. I just thought there > should be

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-17 Thread Rolf Pedersen
James Sparenberg wrote: On Sun, 2003-08-17 at 12:45, Rolf Pedersen wrote: Jim C wrote: Thought of using the hostname command in a script executed at startup? That was one of my first thoughts and it does the trick in rc.local, with the side-effect of disabling auto-login. I just thought there

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-17 Thread Rolf Pedersen
Rolf Pedersen wrote: Rolf Pedersen wrote: Jim C wrote: Thought of using the hostname command in a script executed at startup? That was one of my first thoughts and it does the trick in rc.local, with the side-effect of disabling auto-login. I just thought there should be a less-kludgy way of

Re: [expert] Installed cable --> now host = HWaddr of NIC

2003-08-18 Thread Rolf Pedersen
Rolf Pedersen wrote: Just for reference, I have hooked the adsl modem, which uses dhcp also, back up, there is no problem with an altered $HOSTNAME and kprinter works immediately when asked to. I did not even re-run drakconnect or change any files. Seems to be how the cable modem/comcast dhcp