View previous topic :: View next topic |
Author |
Message |
eeknay Guru
Joined: 07 Jul 2003 Posts: 402 Location: EndOfTheRainbow
|
Posted: Fri Jul 18, 2003 10:33 pm Post subject: netzwerkeinstellungen ändern wo/wie? |
|
|
hi,
ich war heut mit meinem laptop bei einem kumpel. selbiger hat auch einen router, nur ohne dhcp laufen im gegensatz zu meinem.
-folglich funktioniert das netzwerk nicht so richtig.
"failed to bring up eth0"
also, nun frage ich mich wo ich meine netzwerkeinstellungen ändern kann bezüglich dhcp, ip, usw.
so long
eeknay
_________________ Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering." |
|
Back to top |
|
|
andreh Tux's lil' helper
Joined: 03 Feb 2003 Posts: 117 Location: Laboe, Germany
|
|
Back to top |
|
|
Omikron n00b
Joined: 27 Apr 2003 Posts: 9
|
Posted: Fri Jul 18, 2003 11:05 pm Post subject: |
|
|
nehmen wir mal an, du willst die ip 192.168.1.3 haben und der router hört auf 192.168.1.1, dann würd ich (natürlich als root) folgendes machen:
Code: | ifconfig eth0 192.168.1.3 broadcast 192.168.1.255 netmask 255.255.255.0
route add default gw 192.168.1.1
|
für was anderes als C-Netze sind broadcast und netmask entsprechend anzupassen...
falls der router nichts aus dem LAN per firewall blockt solltest du damit schonmal externe IP's anpingen können. die datei/etc/resolv.conf mußt du vielleicht noch anpassen, falls du den DNS-Server auch per DHCP bekommst. für dauerhafte änderungen schau dir mal die datei /etc/conf.d/net an. |
|
Back to top |
|
|
|