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/
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
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
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
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
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
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
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:
>
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
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
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
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
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
"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
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
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
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
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
> >>
> >
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
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
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
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
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
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
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
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
26 matches
Mail list logo