Re: changing networks?!?
On Tue, Jun 02, 1998 at 04:40:55PM -0400, Paul McDermott wrote:
> hello everybody, i have a question, who doesn't on this list right? ok
> here it goes. I have a computer at work connected to the net via
> eathernet. I have all of my networking working great. My question is
> when i bring it home what do i have to change? hostname and ip address
> comes to mind since at work i have my own. i know it has to be something
> like 192.168.xxx.xxx is right or some variation. I was also wondering
> about my gateway and resolv.conf in /etc. The computer i am going to take
> home is going to be connected to the internet by modem (not all the time
> but sometimes) I don't want to know specifically what to change ie
> numbers bit what files to change. I have the howto's at my home page but
> i did not see to much on this subject. I am going to use diald. i don't
> have to worry about connecting to my computer through the modem - just so
> i can get out. Any help or directions would be much appreciated.
> If you need more information to help my conversion, please don't hesitate
> to ask and i shall provide.
I was on an ethernet at my school, everthing working fine, etc, just
as you described. My school used "dhcp" to assign IP addresses... but
they were always the same, and I let my computer run 24/7, so my IP
was always the same. I used bootp (bootpc) for linux to setup
everything.
Anyway, when I brought my computer home, to use PPP via modem on
occation, I just commented out anything dealing with the ethernet
and/or bootpc in my startup scripts. Then I setup the pon and
/etc/ppp* files, and it's all rock'n'roll now.
I never changed my hostname, so the From: field of my emails and
newsgroup postings always look like they came from my computer when it
was still on the ethernet. I just set "Reply-To: " to the correct
value, and I'm set.
Cheap, lazy... but effective!
hopefully somebody will post a more elegant solution <grin>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: