Configure RailWire NET LINK FTTH ONU On Ubuntu

When i get FTTH connection, i just connected the ethernet cable from FTTH ONU to existing DSL router TP-LINK TD-W8968 WAN port. Logged in to TP-LINK router management interface at, set it to work in “Wireless Router Mode” instead of “ADSL Modem Router Mode”.

Click next, on this page, you need to enter your PPPoE username and password.

You can configure WiFi just like you done for DSL. At this point you will get internet on your PC if you connect to TP-LINK router with LAN cable or WiFi.

Connecting FTTH ONU Directly to Ubuntu

First connect the ethernet cable from FTTH ONU to LAN port on your PC.

Now you need to run


This will scan all network interfaces available on your PC for PPPoE connection.

Once it find a network interface with PPPoE Access, it will ask you permission to modify few files, select Yes.

Next it ask for some options, select Yes

It ask for username and password

One next page, it ask for some DNS setting, select No (or yes, won’t make much diff, i tested both, if required you can always edit /etc/resolv.conf manually, no big deal).


DONE – select Yes, this will start net connection by itself.


CONNECTION INITIATED – Select OK, you are done, now you are connected to internet.


To see pppoe log, run

sudo plog


boby@hon-pc-01:~$ sudo plog
Jul 30 08:17:14 hon-pc-01 pppd[8199]: Using interface ppp0
Jul 30 08:17:14 hon-pc-01 pppd[8199]: Connect: ppp0 <--> enx000000003eb7
Jul 30 08:17:14 hon-pc-01 pppd[8199]: PAP authentication succeeded
Jul 30 08:17:14 hon-pc-01 pppd[8199]: peer from calling number 54:1E:56:9A:82:80 authorized
Jul 30 08:17:14 hon-pc-01 pppd[8199]: local  IP address
Jul 30 08:17:14 hon-pc-01 pppd[8199]: remote IP address


You can use poff command to disconnect from the internet.

sudo poff dsl-provider


boby@hon-pc-01:~$ sudo poff dsl-provider
boby@hon-pc-01:~$ ping
ping: unknown host


You can use

sudo pon dsl-provider

to connect to Internet.

boby@hon-pc-01:~$ sudo pon dsl-provider
Plugin loaded.
boby@hon-pc-01:~$ ping -c 1
PING ( 56(84) bytes of data.
64 bytes from ( icmp_seq=1 ttl=39 time=278 ms

--- ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 278.963/278.963/278.963/0.000 ms


When you connect to internet using PPPoE, you will have a new network interface get created, to see more details, run

boby@hon-pc-01:~$ sudo ip addr show ppp0
11: ppp0:  mtu 1492 qdisc pfifo_fast state UNKNOWN group default qlen 3
    inet peer scope global ppp0
       valid_lft forever preferred_lft forever

Files Modified by pppoeconf

Following files are modified by pppoeconf.



On this file, pppoeconf added following entry

auto dsl-provider
iface dsl-provider inet ppp
pre-up /bin/ip link set enx000000003eb7 up # line maintained by pppoeconf
provider dsl-provider

auto enx000000003eb7
iface enx000000003eb7 inet manual

Here enx000000003eb7 is name of my network card, that connect to FTTH ONU.


This is an auto created file. You can delete it if you don’t want to use pppoeconf, it will auto generated when you run pppoeconf.

Here is the content of this file

boby@hon-pc-01:~$ cat /etc/ppp/peers/dsl-provider
# Minimalistic default options file for DSL/PPPoE connections

#lcp-echo-interval 30
#lcp-echo-failure 4
#mtu 1492
#maxfail 0
#holdoff 20
user "my_user_name"


This file contains username and password. By end of this file, pppoeconf added my username and password in the format.

"my_user_name" * "my_password"

Accessing FTTH ONU Management Interface

I was happy with FTTH ONU connected to TP-LINK router so i can use WiFi. But for some reason i was not able to access the Admin Area of the FTTH ONU.

I tried connecting FTTH ONU directly to my PC using pppoeconf to get access to Admin Area of FTTH ONU Device. The manual come with the device says, i can connect to admin area using IP

But the local IP i get from ONU was something like

I did a scan for IPs available on range using netstat, but it was all other railwire customers, i was able to see some of the modem, even able to login to some of them as they use default username and password for their modems. But for some reason, i can’t access my modem on the IP.

I tried adding a route to using “route add” command, no luck accessing the ONU Admin area so far. For now i reverted the changes, went back to old way of connecting using TP-Link router. Need to find a solution to access the admin area of ONU Device.

Posted in Ubuntu