Ish: ip/ifconfig not working, needs netlink

Created on 1 Dec 2018  Â·  12Comments  Â·  Source: ish-app/ish

Hello, I have tested ~20 packages today and I found some interesting things about ip and ifconfig on iSH :
ip route get 1 give me ip: socket(AF_NETLINK,3,0): Invalid argument
ifconfig give me

iPad~# ifconfig                                                                                                                       
ifconfig: /proc/net/dev: No such file or directory                                                                                         
ifconfig: ioctl 0x8912 failed: Invalid argument

I found no issue related to this

Most helpful comment

We can't get local IP on iOS without going to settings ?
It would be useful

All 12 comments

There's no need for these to work, as network connectivity is managed by iOS. Still, I should make them return better errors.

We can't get local IP on iOS without going to settings ?
It would be useful

That would be pretty useful actually.

Output from ifconfig would still be handy. :)

Regarding this, when using iSH with F5, it doesn’t know of routes coming in via the VPN, and as such I’m unable to ssh to machines in the VPN network.

If ish does not have IP, then SSH cannot be used?

SSH and internet works fine. The only thing that doesn't work is the ip and ifconfig commands.

SSH and internet works fine. The only thing that doesn't work is the ip and ifconfig commands.

The difference is that if the mobile phone can access the alpine system through network, we could have the inside system to do many things, like establishing an ssh tunnel and using the tunnel to proxy the mobile phone network. Just like a accessable local backend.

ssh tunneling should work fine.

is there any way that other apps could access the tunnel ?

What are you trying? What does it do instead of working?

Sorry, the network works fine. I can access the localhost port. Another issue is the tunnel need background data refresh.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghanan94 picture ghanan94  Â·  6Comments

wsjyhaozi picture wsjyhaozi  Â·  4Comments

MasonProtter picture MasonProtter  Â·  3Comments

cleverdevil picture cleverdevil  Â·  4Comments

sirredbeard picture sirredbeard  Â·  3Comments