Author |
Message |
|
Post subject: HOWTO setup internett on Linux
Posted: Oct 12, 2003 - 18:21
|
|
Journeyman
Joined: Aug 18, 2003
Posts: 38
Location: Tønsberg, Norge
|
|
Heisan folkens. Endelig har jeg install Linux -> Pegasos.
Question: Hvordan setter jeg opp internett ? har ADSL (dhcp)
l8r |
|
|
|
|
|
|
Post subject:
Posted: Oct 12, 2003 - 21:32
|
|
Order of the Butterfly
Joined: Aug 26, 2003
Posts: 1784
Location: Malmö
|
|
I Gentoo editerar du /etc/conf.d/net och skriver in iface_eth0="dhcp", sen kör du bara rc-update add net.eth0 default så startas ditt nätverk automatiskt vid boot.
Sen ställer du in din namnserver i /etc/resolv.conf genom att lägga till raden:
nameserver <ip-adress> |
|
|
|
|
|
|
Post subject: Debian
Posted: Oct 13, 2003 - 21:49
|
|
Journeyman
Joined: Aug 18, 2003
Posts: 38
Location: Tønsberg, Norge
|
|
Jeg har installert Debian. Er det samme måte der ? |
|
|
|
|
|
|
Post subject: Debian
Posted: Oct 14, 2003 - 15:05
|
|
Butterfly
Joined: Aug 16, 2003
Posts: 883
Location: Göteborg
|
|
Nätverkskonfigurationen gör man i /etc/network/interfaces i debian
Skriv där:
> iface eth0 inet dhcp
för att använda dhcp.
Efter det kan man starta om nätverket med:
> /etc/init.d/networking restart
> man interfaces
kan ge en del nyttig information
nameserver (dns) ändras på samma sätt som dholm beskrev ovan |
_________________ Programmers are tools for converting caffeine into code.
|
|
|
|
|
|
Post subject: takkar
Posted: Oct 14, 2003 - 19:13
|
|
Journeyman
Joined: Aug 18, 2003
Posts: 38
Location: Tønsberg, Norge
|
|
takkar så mycket! |
|
|
|
|
|
|
| |