Hey guys, I want to use my 300m as a Network Emulator. For this I need some configurations on him.
The Setup:
- ive using an Macbook with MacOs
- GL-INet 300m
- the 300m is via lan connected to my Mac via lan port
- ive changed the ip adress of the interface of the connection to 192.168.8.2 , Subnetmask = 255.255.255.0
- the Mac is connected to the internet via wlan
- ive shared the internet connection via wlan to the interface of the connection with the 300m
My configurations so far:
- ive connected via terminal an the following ssh with the router : ‘ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-rsa root@192.168.8.1’
- After that I changed some settings in the network settings
The Changes
all deletet except of the ‘loopback’ and ‘globals’ configurations
- inserted the following:
config interface ‘lan’
option type ‘bridge’
option proto ‘static’
option netmask ‘255.255.255.0’
option ip6assign ‘60’
option hostname ‘GL-AR300M-56a’
option ipaddr ‘192.168.8.1’
option ifname ‘eth0 eth1’
option gateway ‘192.168.8.2’
option delegate ‘0’
list dns ‘9.9.9.9’
- after the I rebooted the router and reconnected
- so far all this steps worked
What I need to do
- I need to install via command or in the dashboard the following packages:
opkg update; opkg install tcpdump nano bash kmod-netem luci
- When I used this command I get the following error:
root@GL-AR300M:~#opkg update; opkg install tcpdump nano bash kmod-netem luci
Downloading https://fw.gl-inet.com/releases/v19.07.8/packages-3.0/ath79/packages/Packages.gz
Failed to send request: Operation not permitted
#observations
when I watched via Wireshark the ip packages I can see that the router can ping my laptop and get an response. But when I try to ping like websites over the internet I didn’t get any response. I can see that the pings were sending over my laptop to the internet but no response coming.
Help me here
- so how can I connect my 300m with the internet so that I can download the packages via dashboard (plug ins)?
- why does this command not work?