Hi I am using gl-inet-ar150 soc 9330 openwrt my build using kernel 4.9
my diffconfig
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_gl-ar150=y
CONFIG_COLLECT_KERNEL_DEBUG=y
CONFIG_KERNEL_DYNAMIC_DEBUG=y
CONFIG_KERNEL_DYNAMIC_FTRACE=y
CONFIG_KERNEL_ENABLE_DEFAULT_TRACERS=y
CONFIG_KERNEL_FTRACE=y
CONFIG_KERNEL_FTRACE_SYSCALLS=y
CONFIG_KERNEL_FUNCTION_GRAPH_TRACER=y
CONFIG_KERNEL_FUNCTION_PROFILER=y
CONFIG_KERNEL_FUNCTION_TRACER=y
# CONFIG_KERNEL_KALLSYMS is not set
CONFIG_PACKAGE_ethtool=y
CONFIG_PACKAGE_iftop=y
CONFIG_PACKAGE_iperf3=y
CONFIG_PACKAGE_iputils-arping=y
CONFIG_PACKAGE_iputils-ping=y
CONFIG_PACKAGE_iputils-traceroute6=y
CONFIG_PACKAGE_libncurses=y
CONFIG_PACKAGE_libpcap=y
CONFIG_PACKAGE_libsysfs=y
CONFIG_PACKAGE_netcat=y
CONFIG_PACKAGE_terminfo=y
when connecting to an existing router Lan port
and having in etc/config/network
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'dhcp'
option gateway '198.162.1.1'
option netmask '255.255.255.0'
I don't have any problem at all to connect to internet through
the gl-inet-ar150 wifi bridged lan
router ----eth cable--- gl inet ar150 ---- wifi radio ---my PC
I can even set the router to gave my gl inet ar150 a specific IP address based on MAC .
I can then acces my gl-inet-ar150 by ssh at port 22.
What is driving me crazy is that if I use (as I have always been doing to configure my gl inet ar150)
a set up where I have
gl inet ar150---wifi ---my Pc
I am able able to access the router on port 22 by ssh
while
gl inet ar150 -----eth cable--- my PC
with etc/config/network (same as gl inet ar150---wifi ---my Pc settings)
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '198.162.1.1'
option netmask '255.255.255.0'
and then I tell my PC with manual iPv4 setting
being 198.162.1.5 as IP name
and netmask 24 (255.255.255.0)
and gateway 198.162.1.1
I won't be able to access the router on port 22 by ssh.
Strange thing is that the eth link is up,
my PC isnt able to connect to gl inet ar150: if I ping 198.168.1.1 from PC I got unreachable host
but if I ping my PC from gl inet ar150 (serial console) even just once (ping 198.168.1.5) the I can ping back
from my PC to gl inet ar150 and I can connect by ssh to my gl inet ar150 from my PC on port 22 .
What is different between the two set ups ?? What I am missing about router advertising ??
I should point out that my special setting has only a eth0 device as per my
[Solved] Swconfig router and switch gl.inet ar150 posts
where I get hopefully the router using only one MAC controller that goes to the switch where
I can see port 1 and port 5 as the two rj45 plug named lan and wan in the original normal openwrt settings).