[H-GEN] optus cable modem
Sarah Hollings
sarahhollings at optushome.com.au
Tue Sep 26 00:37:27 EDT 2000
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Please observe the list's charter. ]
Thanks! I'll try this.
Stephen Thorne wrote:
>
> On Sat, Sep 23, 2000 at 04:06:26PM -0700, Sarah Hollings wrote:
> > I know there has been some discussion of this topic on the lists, but
> > damned if I can find it.
> >
> > I have Linux talking to optus just fine over the network, by using the
> > line
> > dhcpcd -h <optus-computer-name> eth1 [1]
> >
> > ...mostly. If I have previously run my dual-boot system in windoze,
> > without powering off for too long. Also, the dhcp client has a way of
> > clobbering my hosts file, and my resolv.conf which messes up my
> > peer-peer network.
> >
> > The set up I have btw is this:
> > ******************************
> > Pentium 667 <--5 port hub--> Pentium P133
> > dual-boot Debian/Win98 dual-boot Debian/Win98
> > 2 x NIC's 1 x NIC
> > ipmasq
> >
> > ( files resolv.conf and hosts are attached, these are the versions I get
> > after dhcpc has had a go at them. The *.clobbered versions are the ones
> > I had, while I was trying to get my network going )
> >
> > Can anyone help me with the following issues, please???
> >
> > 1) How do I address the clobbering of my network setup when dhcp
> > successfully runs?
> >
> > Get rid of dhcp? I don't want to go and put in the ip addresses and
> > everything in by hand. I know Optus seem to "never" change them
> > (effectively giving me a static ip) but they reserve the right to change
> > them, and probably would for network outages. I want a transparent and
> > reliable solution.
> >
> > I am also trying to set up a testbed for a php/mysql/http(apache)
> > solution for dynamic pages on my website. If any Optus techs are
> > listening, this is **NOT** going to run on my machine (apart from
> > testing and debugging) as I have space kindly made available to me on
> > diadora.client.uq.net.au. However, if I want to leave my machine on,
> > and go to another site to try debugging the above testbed, I am going to
> > be buggered if Optus choose that moment to change their ip addressing
> > around.
> >
> > Use the -R option: dhcpcd -h <optus-computer-name> -R eth1 ...?
> > Yes, but this simply causes dhcpcd to put a symlink from
> > /etc/resolv.conf --> /etc/dhcpc/resolv.conf still leaving me with a
> > bunch of name problems.
> >
> > It also clobbers my hosts file.
>
> Theres a cute little filesystem tag called "append only"
>
> chattr +a hosts
>
> or if you want, you can make it immutable
>
> chattr +i hosts
>
> to quote from man chattr
>
> A file with the `i' attribute cannot be modified: it
> cannot be deleted or renamed, no link can be created to
> this file and no data can be written to the file. Only the
> superuser can set or clear this attribute.
>
> and
>
> A file with the `a' attribute set can only be open in
> append mode for writing. Only the superuser can set or
> clear this attribute.
>
> End the clobbering :)
>
> Steve
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.
More information about the General
mailing list