Wednesday 29 October 2014

Asus RT-AC68U with Maxis fiber and Astro IPTV

For those who interested to get Maxis fiber + Astro IPTV working with Asus RT-AC68U router, below are the settings I used and it works for me (both Internet and IPTV is working).

*The backbone is TM Fiber

The main configurations are the WAN and IPTV settings, the rest you may set it up as you would normally do.

Physical connection
- Cable from modem LAN port to Asus router WAN port
- Cable from Asus router LAN port 4 to Astro IPTV decoder

WAN
- WAN Connection Type: PPPoE
- User name: <your user Id>@home.maxis.com.my
- Password: <your password>

*Call the support line if you don't have this information.

IPTV
- Select ISP Profile: Manual
- Internet: VID = 621
- LAN port 4: VID = 823
- LAN port 3: WID = 822

Credit to: schizophreak (lowyat.net forum user)
Ref:
https://forum.lowyat.net/topic/1506242/+1480
https://forum.lowyat.net/topic/1506242/+1700

Some screenshots of the settings








Update [03/11/2014]
After around 2 days and 2 hours of use, my family member told me the Astro is not working. I tried restart the router and modem, still not working. Then checked the Astro IPTV settings (Network > Diagnostics), it shows an IP received from Maxis directly (10.xxx.xxx.xxx), Unfortunately I forgotten to capture the screenshot, can't really remember the details of the IPs. It supposed to use a local IP, but it wasn't, so I guess the connection isn't right, hence, the IPTV doesn't work.

So I turn on the router from Maxis again and connect:
- Cable from modem LAN port to Maxis' router WAN port
- Cable from Maxis' router LAN port to Astro IPTV decoder

Then the Astro IPTV works again.
This time it receive a local IP - 192.168.1.64


After that, reconnect the cable back to the Asus router just as before I did anything and it works.
- Cable from modem LAN port to Asus router WAN port
- Cable from Asus router LAN port 4 to Astro IPTV decoder

So, it seems like when connected to the Asus router, the Astro IPTV decoder didn't receive a proper IP to get it working. I'm now on this 2nd round of connection for 2 days 18 hours, it is still working.

Update [12/11/2014]
11 days 19 hours+ past, Astro IPTV is still working.
But found a drawback of using this router with Astro IPTV - it won't download program data (at least, pressing "Info" shows nothing).





Update [17/11/2014]
Coming back from a weekend day out, turning on the Astro found it "dead". Astro is not working anymore. Opening the Settings > Network > IP Diagnostics found it showing an invalid IP.


I'm done with the testing of this configuration and has switch it back to the old config/setup - Cascade router.

The setup/config:
- Cable from modem LAN port to Maxis' router WAN port
- Cable from Maxis' router LAN port to Astro IPTV decoder
- Cable from Maxis' router LAN port to Asus AC68U router, then set the router with this config/settings:
   > Administration\Operation mode\Remains as router mode
   > LAN\DHCP Server\Enable the DHCP Server = No
   > WAN\WAN connection type = Automatic IP

Using this setup/config, I still can utilize most of the features in the Asus router (Eg. QoS), apart from those who need Internet access (Eg. built in VPN).


Log:
- 29/10/2014, ~4.30pm (GMT+8): Switch from Maxis router to Asus RT-AC68U (Internet & IPTV working)
- 31/10/2014, ~6.30pm (GMT+8): Astro not working (Internet still working)
- 01/11/2014, ~2.15am (GMT+8): Reconnect to Maxis router to get IPTV working, then connect it back to Asus router
- 03/11/2014: ~8.15pm (GMT+8): Checked Astro IPTV and Internet still working on Asus router
12/11/2014: ~10.15pm (GMT+8): Checked Astro IPTV and Internet still working on Asus router
16/11/2014: Astro IPTV is "dead", switch it back to the original configuration - Cascade router

Thursday 2 October 2014

Manually run specific AIF port

To manually run a specific AIF inbound port (File adapter), the "AifImportUtil::processFile()" static method can be used.

It accept two parameters:
1. Input file name
2. Port name

Eg. AifImportUtil::processFile("\\\\serverName\\sampleFile.csv", 'SampleInboundPortName');

AIF Inbound port error - Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics

Area: AIF
Error: Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics

We have a few AIF inbound port setup (File adapter), tested and working.
But when user put in the same file, the process failed and we're getting the error mentioned above.

The reason was due to the user who put the file into the inbound port folder is not an AX user.

AIF is using the file owner as the submitting user and this is the user who caused the error.

To view:
  • File owner: Right click on the file > Properties > Details (tab) > Owner
    *Alternatively, open the folder in Windows Explorer, change to "Details" view, add the "Owner" column.
  • Submitting user: System administration > Periodic > Services and Application Integration Framework > Queue manager > Details (tab) > Users (group) > Submitting user