Kitz Forum

Broadband Related => Broadband Hardware => Topic started by: Weaver on September 17, 2018, 06:58:58 PM

Title: ZyXEL VMG 1312-B10A + poss other Broadcom devices - set IP config etc from CLI
Post by: Weaver on September 17, 2018, 06:58:58 PM
Title: Re: ZyXEL VMG 1312-B10A + poss other Broadcom devices - set IP config etc from CLI
Post by: Weaver on September 17, 2018, 07:12:16 PM
This modem currently shows:
Quote
lan show
br0       Link encap:Ethernet  HWaddr 04:BF:6D:3A:44:D0 
          inet addr:192.168.4.1  Bcast:192.168.4.255  Mask:255.255.255.0
          inet6 addr: fe80::6bf:6dff:fe3a:44d0/64 Scope:Link
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1508  Metric:1
          RX packets:3271 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3095 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:213015 (208.0 KiB)  TX bytes:813237 (794.1 KiB)

br0:0     Link encap:Ethernet  HWaddr 04:BF:6D:3A:44:D0 
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1508  Metric:1

Group Name      DNS Type
Default         Static(DNS Server : 192.168.4.254,0.0.0.0)
Title: Re: ZyXEL VMG 1312-B10A + poss other Broadcom devices - set IP config etc from CLI
Post by: johnson on September 18, 2018, 01:14:03 AM
Be very careful, I just tried issuing this:
Code: [Select]
lan config --dhcpclient enable

To which it responded:
Code: [Select]
sshd:error:921.139:rutNtwk_getActiveDns6Ip:697:no ipv6Obj->IPv6DNSWANConnection found

sshd:error:921.152:rutNtwk_getActiveDns6Ip:717:fail to get dns6 server
=========== Setting success please wait 5 sec ===========
Config saved to flash.

Rebooted and my VMG1312 is now stuck in a boot loop... Will have a look what its saying on the console and get back to you.
Title: Re: ZyXEL VMG 1312-B10A + poss other Broadcom devices - set IP config etc from CLI
Post by: banger on September 18, 2018, 01:33:36 AM
Be very careful, I just tried issuing this:
Code: [Select]
lan config --dhcpclient enable

To which it responded:
Code: [Select]
sshd:error:921.139:rutNtwk_getActiveDns6Ip:697:no ipv6Obj->IPv6DNSWANConnection found

sshd:error:921.152:rutNtwk_getActiveDns6Ip:717:fail to get dns6 server
=========== Setting success please wait 5 sec ===========
Config saved to flash.

Rebooted and my VMG1312 is now stuck in a boot loop... Will have a look what its saying on the console and get back to you.

Ooo errr, not good.
Title: Re: ZyXEL VMG 1312-B10A + poss other Broadcom devices - set IP config etc from CLI
Post by: johnson on September 18, 2018, 01:48:55 AM
So the modem boots fine with no ethernet cables attached, but when you plug one in:

Code: [Select]
eth1 Link UP 100 mbps full duplex

ssk:error:91.569:rutNtwk_getActiveDns6Ip:697:no ipv6Obj->IPv6DNSWANConnection found

ssk:error:91.569:rutNtwk_getActiveDns6Ip:717:fail to get dns6 server
DHCP aquired LAN side IP address 192.168.x.x
smd:error:91.696:collectApp:1559:ssk (pid 260) exited due to uncaught signal number 11
smd:error:91.697:oal_processEvents:911:ssk has died.  smd must exit now!
Need to reboot
umount: tmpfs busy - remounted read-only

The system is going down NOW!

Sent SIGTERM to all processes

Sent SIGKILL to
Requesting system reboot
Restarting system.

So it appears the zyxel management stuff gets upset with a DHCP acquired address.
Title: Re: ZyXEL VMG 1312-B10A + poss other Broadcom devices - set IP config etc from CLI
Post by: johnson on September 18, 2018, 02:21:28 AM
I have no problems changing the default IP address using:

Code: [Select]
lan config --ipaddr primary 192.168.1.x 255.255.255.0

Are you hoping to use the "dns" and "route" commands to give the modem internet access?
Title: Re: ZyXEL VMG 1312-B10A + poss other Broadcom devices - set IP config etc from CLI
Post by: Weaver on September 18, 2018, 06:54:14 AM
Indeed.

Thanks for spotting that disaster! Good job I didn’t risk it.

They really do not believe in testing.