sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #76134
Re: Ops�ing af TDC ADSL under Linux?
Subject: [TEKNIK] Opsætning af TDC ADSL under Linux?
> Jeg skal i gang med at sætte en TDC ADSL-forbindelse op og har fået
> tilsendt en pakke med hardware og en installations-cdrom til Windows. Er
> det muligt at sætte forbindelsen op fra Linux?
>
> Hvis ja: Hvordan?
echo -e "Setup LAN interface (eth0) (static)..."
/sbin/ifconfig eth0 192.168.1.1 \
netmask 255.255.255.0 \
broadcast 192.168.1.255
echo -e "Starting local DHCP server..."
/usr/sbin/dhcpd -q
#echo -e "Setup LAN interface (eth1) (static)..."
#/sbin/ifconfig eth1 80.198.x.x \
# netmask 255.255.255.240 \
# broadcast 80.198.x.x
#
#/sbin/route add default gw 80.198.x.y
echo -e "Setup WAN interface using DHCP client (eth1)"
/sbin/dhcpcd eth1
# Husk at configurere en fornuftig firewall
/etc/rc.d/rc.firewall
Enjoy
Mogens M.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.746 / Virus Database: 498 - Release Date: 05-09-04
References