Udskift din TDC Homebox med et modem.

This Article is in danish as it primary readers should be danish :).

Jeg har i flere år brugt mit eget modem på min TDC ADSL2+ forbindelse (20/2Mbit), i forbindelse med omlægning til en 40/10Mbit forbindelse, blev jeg konverteret til en VDSL2 forbindelse, mit god gamle netgear DM111 ADSL2+ modem, skulle derfor udskiftes til noget som kan forstå VDSL2.

Jeg havde ved et held fået et TDC VDSL2 modem (Askey RTV1800-D79), dette modem understøtter iht. til TDC’s lister både Vectoring, SRA, samt G.INP, hvilket burde sikre driften i langtid.

OBS: jeg har godt nok telefon på mit abb. men jeg bruger det ikke, så disse noter drejer kun om at få internet igennem.

i min naivitet troede jeg at der ikke var forskel på en modem løsning og en router løsning (Homebox), dette viste sig dog at der var stor forskel.

følgende er de settings jeg er bekendt med:

Homebox:
VLAN ID = 101
QOS = 1
VLAN MUX
PTM IPoE

Modem:
VLAN ID = 50
QOS = 0
VLAN MUX
PTM IPoE

Modem settings er fisket ud ved at tilgå http://192.168.1.1 på modemet, Homebox settings er fundet å TDC’s forum.

man kan via modemet hive settings ud, men umiddelbart ikke ændre noget på denne, dette kan man dog workaround ved at redigere den fil man får ud af settings, jeg ligger hermed min orginale fil op samt den redigeret fil som fik min forbindelse til at virke.

 

Original settings fra modem: orginal_setings

De settings jeg kører med idag: working_final_160203

NB: filerne skal ændres så de hedder .conf for at modemet gider at æde dem.

God fornøjelse med at få det til at spille med netop dit modem/router 🙂

den primære ændring er:

Orginal:

<WANIPConnection instance=”1″>
<Enable>TRUE</Enable>
<ConnectionType>IP_Bridged</ConnectionType>
<Name>br_0_1_1</Name>
<ExternalIPAddress notification=”2″>0.0.0.0</ExternalIPAddress>
<X_BROADCOM_COM_IfName>ptm0.1</X_BROADCOM_COM_IfName>
<X_BROADCOM_COM_ConnectionId>1</X_BROADCOM_COM_ConnectionId>
<PortMappingNumberOfEntries>0</PortMappingNumberOfEntries>
</WANIPConnection>

Modificeret version:

<WANIPConnection instance=”1″>
<Enable>TRUE</Enable>
<ConnectionType>IP_Bridged</ConnectionType>
<Name>br_0_1_1</Name>
<ExternalIPAddress notification=”2″>0.0.0.0</ExternalIPAddress>
<X_BROADCOM_COM_IfName>ptm0.1</X_BROADCOM_COM_IfName>
<X_BROADCOM_COM_ConnectionId>1</X_BROADCOM_COM_ConnectionId>
<X_BROADCOM_COM_VlanMux8021p>1</X_BROADCOM_COM_VlanMux8021p>
<X_BROADCOM_COM_VlanMuxID>101</X_BROADCOM_COM_VlanMuxID>
<PortMappingNumberOfEntries>0</PortMappingNumberOfEntries>
</WANIPConnection>

Jeg vil sandsynligvis skrive mere her ved lejlighed, når jeg får mere tid til at kigge på settings.

Configuring Samba to be a WINS server

This is quite easy to do, and it makes browsing the smb network fast.

Configuring the server:
simply edit smb.conf (typically located at /etc/samba/smb.conf)
locate the the wins support and enable it.:

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
wins support = yes

setup the way samba should resolve the hosts:

# What naming service and in what order should we use to resolve host names
# to IP addresses
#   name resolve order = lmhosts host wins bcast
   name resolve order = host wins bcast

The following option should be addet to the linux DHCP server (if you use linux as a DHCP server):

option netbios-name-servers x.x.x.x;

where x.x.x.x is the IP of the WINS server

If you use a normal router, sometimes they support pushing out the wins server, if you use a router running dd-wrt
go tothe  basic setup and add the WINS server IP, there.

If this fails you can add the WINS server manually to windows:
go to the control panel, and press the View network status and tasks, then press the change adapter setting
right click the network interface and select properties, select the TCP/IP (for windows 7 select TCP/IPv4)
and press properties again click advanced and select the WINS  and add the IP of the WINS server and you are ready to go

WINS_server_win7

For linux clients simply edit the smb.conf and add the following:

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
   wins server = x.x.x.x

replace x.x.x.x with the IP of the WINS server

Happy smb surfing 🙂