Ok, I have an annoying problem.
I moved my machine to a mountain village near the source of the internet. And, uh, I'd like to set it up. It works on machine I'm currently using (which was set up by my brother while I was elsewhere. And he can't be bothered unless there's an earthquake. He's a stereotypical admin).
First, I installed (K)Ubuntu and hoped it would detect the settings. I never had to do much of it myself except for editing resolv.conf . No such luck. But I have reasons to think ethernet cards were identified correctly.
Then, I quickly scanned this machine's (Debian) /etc/ directory, and with some guessworking I did the following on my machine (Ubuntu):
- copied entries from resolv.conf (just dns, I'm sure it's ok because it's one of the few important numbers I remember)
- copied entries from /etc/network/interfaces
for eth0 (my onboard ethernet card)
adress
gateway
dns
network
netmask
broadcast (what's this, by the way ?)
...and also the iface blah blah line.
-edited the /etc/networks file (localnet ip.ad.re.ss)
- tried it out
- scratched my head
- messed a little more
- cursed a lot
------
What could I possibly miss ? Is there some kind of script I have to run afterwards ? (like with lilo) Hostname doesn't really matter, right ?
By the way, I tried putting the same info (basically) into windows xp ( I have dual boot) and it didn't work either. I tested it mostly by pinging dns server.
Additional info....
- network's admin is unreachable - my mother has the telephone number, but she should be somewhere around London by now. So I have little info about the configuration.
- it's some kind of local network people manage themselves. Use of ethernet cards seems to mean it's not a broadband.
- I'm confused, and in need of internet.
- I have access to this machine (where net works ok), but no root password.
- I tried to replace this machine with my machine. No t joining both.
- I can answer questions
- heelp !
EDIT
- the machine I copy configuration from has 2 ethernet cards. One has adress set up to something like 10.112.0.1 (or similar)
and the otehr one to more less 192.168.0.1. I presume the earlier is for "
outside"
network, and that's the one I should imitate with my machine. The other one, 192.168.blah sounds like it can't contain enough ip's, so it's probably meant for connecting other machines to this one.
(I'm not going to do that, for example to save energy)
EDIT2
All startup messages are marked 'ok' except for "
synchronizing clock"
(ntp.ubuntulinux.org or sth).
I was goofing around and inserted the plug into the other ethernet card, which is not supposed to work (unconfigured). Same error.
How can I check if I have ethernet card detected properly ? Debian/ubuntu network configuration documents don't exist.
____________________________
http://www.gamasutra.com/features/20051128/adams_01.shtml
[Last edited by b0rsuk at 10-22-2005 11:40 PM]