Azmawee 127.0.0.1

"Mauiwagen. Das Server." – pub 4096R/712DAA69

Maxis Home Fiber internet (or TM Unifi) with FreeBSD server

Setting up the internet for Maxis Home Fiber (or TM Unifi) in FreeBSD are pretty easy and straight forward. The important thing you need to know is, their vlan ID/tag for data, Maxis Home Fiber using vlan id 621 (for data) and TM Unifi using vlan id 500.

1. Open your /etc/rc.conf and put this:

cloned_interfaces=”vlan0″
ifconfig_vlan0=”inet 10.1.1.2 netmask 255.255.255.0 vlan 621 vlandev em0″

The inet IP can be anything, and my em0 network interface is connected to the fiber optic modem, I’m using 621 vlan id for Maxis Home Fiber, for Unifi change it to 500.

2. Restart your server, if you don’t want to restart, then google for manual command to setup the vlan on fly.

3. Make sure the vlan0 and em0 status are active:

vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1492
        options=3<RXCSUM,TXCSUM>
        ether 2c:27:d7:14:13:1e
        inet 10.1.1.2 netmask 0xffffff00 broadcast 10.1.1.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        vlan: 621 parent interface: em0
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1492
        options=1db<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,POLLING,VLAN_HWCSUM,TSO4>
        ether 2c:27:d7:14:13:1e
        inet 10.1.1.1 netmask 0xffffff00 broadcast 10.1.1.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

4. Then proceed to edit your ppp.conf or mpd.conf:

Add this for ppp.conf :
set device PPPoE:vlan0
set authname [email protected]
set authkey password

Add this for mpd.conf :
set auth authname “[email protected]
set auth password “password”
set pppoe iface vlan0

5. You are ready to go, just dial pppoe like usual.

6. IMPORTANT NOTE for Maxis Home Fiber user, you will get a LAN ip of 10.x.x.x for you WAN interface, if you hosting a server like web, email and others, you will need a public IP for those, so you need to call Maxis customer service support to request a public IP for you connection, after you get the public ip activated from Maxis, your username will changed from [email protected] to [email protected], make sure you change it in your config files.

7. Enjoy fiber optic broadband internet with FreeBSD server. :D

– MaUi^

, , , , , , , , , , , , , , , , , ,

35
Leave a Reply

avatar
22 Comment threads
13 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
13 Comment authors
MaUiMATHAVANkarthiksanyogEuan Thoms Recent comment authors

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
newest oldest most voted
Notify of
Darryl Yeoh
Guest

My office is using Maxis fiber BB as well. Maxis provide just a single modem/wifi router/dialer. What are the common settings to turn their modem router into a bridged modem ?

Secondly, when you apply for a public IP from Maxis, see what is the netmask they provide. I believe you get usable 2 IP addresses base on the netmask. Unifi’s netmask defaults to 255.255.255.255 meaning single IP address only. The Maxis one is quite similar to StreamyX enterprise package where you get 2 usable IP addresses if using your method. Can you confirm this ? Thanks.

   0 likes

Darryl Yeoh
Guest

IC, your modem is TM Fiberhomme right ? It has 4 LAN ports, LAN 1 is normally configured for Unifi, so you use LAN2.

The fiber optic cable is the one provided by Maxis right ?

How did you know which LAN port to use ? You ran some sniffer program on all LAN ports to figure out which port is broadcasting the vlan id ?

-Darryl

   0 likes

Darryl Yeoh
Guest

Ah okay. That makes sense :>

Now if Jaring were to provide fiber BB service, the trio setup will be complete :>

   0 likes

Darryl Yeoh
Guest

Yeah. Can take a look at setfib(1) command to configure multiple default route on FreeBSD or go with PfSense for multi-wan setup :>

   1 likes

Darryl Yeoh
Guest

IC. Thanks for sharing :>

-Darryl

   0 likes

Darryl Yeoh
Guest

Btw, is Maxis IPTV service out ? Are you using it ?

   0 likes

Darryl Yeoh
Guest

Maui, if you don’t mind, could you test TP-Link’s TL-WR1043ND v1 ver. 1.8 ‘N’ wifi router with your Maxis FTTH ? This router is Unifi-ready with stock firmware. However to test it with Maxis you will need to flash it with OpenWRT. I am using this model but with Unifi.

If your ok with this I’ll try to get a test unit for you.

   0 likes

Darryl Yeoh
Guest

Actually I can flash it for you to OpenWRT, preset everything base on Unifi’s setup and pass you the unit if your ok with it.

Then just reconfigure the correct vlan id and change the pppoe user/pass.

   0 likes

xjian
Guest
xjian

Dear MaUi,

Can you please share with me how to configure the TM BTU to connect to Maxis broadband without the Thomson device? because currently my Thomson device is not working, need a temporary workaround to connect to Maxis broadband.

-xjian

   0 likes

Darryl Yeoh
Guest

Hi xjian,

Since you were already using the Thompson router, there’s nothing you need to do with the TM BTU. Instead, you need to setup VLANS on your computer and dial from there or setup VLANS on a spare router running either DD-WRT or OpenWRT. As Maui has explained at the beginning, the VLAN ID for Maxis is 621.

-Darryl

   0 likes

xjian
Guest
xjian

Dear MaUi,

Thanks for your explaination.
I am trying to setup my freebsd to connect to maxis fiber following your guide.
Can you show me how to configure ppp.conf? Possible to share me the file? Also how to dial pppoe in freebsd? Please enlight me as i’m noob in freebsd

Thanks!
xjian

   0 likes

unifi
Guest

Pretty element of content. I simply stumbled upon your web site and in accession capital to claim that I get actually loved account your blog posts. Any way I will be subscribing in your feeds and even I achievement you access consistently fast.

   0 likes

Izham
Guest
Izham

Hi Azmawee,

I was just wondering is it possible to configure this freeBSD server to also have a LAN interface with vlan 600, which to be used for hyppTV. I was hoping that I can build a machine that can serve

1. Unifi dial-up router
2. Wifi access router
3. Lan router
4. LAN port for HyppTV
5. NAS
6. print server

I believe if we’re able to do this, we can save a lot of space and electricity due to this capability. what do u think?

-Izham-

   0 likes

azahar
Guest
azahar

how to use common prompt for maxis or unifi btu test?

   0 likes

azahar
Guest
azahar

hi abg maui ,common prompt blh guna untuk maxis btu test tk?

   0 likes

Darryl
Guest
Darryl

For Wifi AP, make sure to get a PCI/PCIe card that uses the ath(4) driver.

https://wiki.freebsd.org/dev/ath_hal%284%29/HardwareSupport

TP-Link seems to be a good choice.

   1 likes

kit
Guest
kit

hi,

do you know how many concurrent logins can you have with pppoe? i’m thinking of setting up 2 servers, each with its own pppoe dialer but dialing the same account.

thanks
kit

   0 likes

Darryl Yeoh
Guest
Darryl Yeoh

Only 1 session is allowed.

   0 likes

Euan Thoms
Guest

Don’t need to restart, this is UNIX.
To redo network interfaces:
#service netif restart

and you may need to redo routing:
#service routing restart

   1 likes

Darryl
Guest
Darryl

Btw, TM Unifi/StreamyX is now IPv6 ready..actually since Sept 27th. I am using at home. Native IPv6 finally :>

   1 likes

sanyog
Guest
sanyog

hi,

typical issue , i have maxis fibre, 10 mbps , my brother has unifi, and hypptv subscription which he does’nt uses ,
so i tried to connect hypptv STB to thomson router nothing happens, connection status on STB first 2 lights green , no connection to iptv server
any configuration needed, or hyptv only works on unifi or stremyx

my setup
tm modem zte zxdsl 931d11, router – TG784N,

help friends

   0 likes

karthik
Guest
karthik

Hi everyone, i will be getting maxis fibre internet service soon in my office. Currently using Unifi and now adding maxis fibre internet as a backup internet.

The technician told me, will connect the maxis router to tm modem. If let say tm modem goes down, my maxis connection will be down also. No other way for the maxis router to set up?

Need your help and suggestion on this guys.. thanks

   0 likes

MATHAVAN
Guest
MATHAVAN

HI
I AM USING MAXIS FIBRE INTERNET
I WANT TO USE FIBRE INTERNET IN THE ETHERNET PORT
PLEASE GIVE ME A IDEA
THANK YOU

   0 likes

MaUi^ - pub 4096R/712DAA69
Fingerprint 8BF7 D0AF CA45 5313 A3BF ACFB B90B 66C7 712D AA69
Website Security Test
0110010101100001011100110111010001100101011100100010000001100101011001110110011100100000011011100110111100101110001000000011000000110110