Portál AbcLinuxu, 25. dubna 2024 18:40
Jestli máš možnost ten modem připojit přes síťovku, tak tak učiň, vyhneš se spoustě problémů. Btw, si myslim, že hlavní problém bude právě v podpoře USB...
Vlastní adresu by sis musel zakoupit, myslim pevnou, normálně ti jí přiděluje DHCP server providera. Default route nastaví dhcpc démon, maska udává typ síťe ve který se nacházíš, ale taktéž jí nastavuje dhcpc démon.
$ cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
auto eth0
iface eth0 inet dhcp
pak jeste musis mit nainstalovanyho a funkcniho dhcp clienta (jeden balicek). Tot vse. Pripojeni pres kabelovku mam a Debian si stahuje aktualizace jeste pred dokoncenim instalace ;)
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo eth0 sitxs26
iface lo inet loopback
iface eth0 inet static
address 10.42.42.6
netmask 255.255.255.0
network 10.42.42.0
broadcast 10.42.42.255
gateway 10.42.42.1
iface sitxs26 inet6 v4tunnel
address 3ffe:80ee:1e1f:0:0200::6
netmask 128
endpoint 62.24.64.27
ttl 64
up /etc/network/sitxs26up
touch /etc/resolv.conf
, zadejte tam DNS server ISP a zkuste nekam pingnout!
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.