![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
SSH over Wi-Fi: Fixed I.P for Kindle?
On my PW1(jailbroken), I am able to do an ssh login over wifi.
However, the I.P keeps changing between sessions(DHCP from router). There doesn't seem to be any way in the pw1 settings to make this a fixed I.P., like in, say Ubuntu Linux. This is useful for keeping a fixed setting on say, my laptop to do a SSH login, instead of checking what the current I.P is every time and then feeding that I.P into the SSH command/client. After some fiddling, I got this to work: In kterm, I entered: ip addr add <desired I.P> dev wlan0 <desired I.P> is something like x.y.z.99 which I know will never be allotted by the DHCP. Now, I'm able to login on the new, fixed I.P. The above command could obviously be turned into a KUAL extension. Some drawbacks: 1. Existing I.P got from DHCP is also retained(unless I do a "ip addr del .." command). I can continue logging in on this I.P too! 2. The new I.P is not persistent. It is lost even when the screensaver kicks in. Request some help from you experts to polish this hack! |
![]() |
![]() |
![]() |
#2 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175
Karma: 54048
Join Date: Mar 2016
Device: PW3 5.6.5-usbnet
|
You router may have a configuration option to specify a static IP based on the MAC address of your Kindle. Did you check this already?
|
![]() |
![]() |
![]() |
#3 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
I checked. It doesn't.
|
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I'm fairly sure you can setup a WiFi connection manually with a static IP on the Kindle when you tap the "Advanced" (or whatever) settings in the device's connection manager. Probably have to forget your current settings to make it pop up, though.
|
![]() |
![]() |
![]() |
#5 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Hey, NiLuJe!
![]() I never saw the "advanced" tab.. even after I "forgot" the network. But, after your post, I fiddled around.. entered a wrong password.. which finally forced the popup. So, no need for any hack. Well... increased my (microscopic) linux knowledge a bit.. anyway.. ![]() |
![]() |
![]() |
![]() |
#6 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
It will cause you more trouble if your Kindle is used on more than that single Wifi network. The proper place to do the assignment is in your router by MAC address. # 11 22 0 |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle 4 NT: No SSH | cinnagingercat | Kindle Developer's Corner | 92 | 11-06-2018 08:44 PM |
M92: password and users (eg. ssh/ssh-server) | lepau | Onyx Boox | 1 | 11-15-2013 11:46 AM |
Can't SSH to my Kindle | Alkhabiru | Kindle Developer's Corner | 16 | 08-06-2013 12:34 PM |
how to ssh into Kindle | thomass | Amazon Kindle | 4 | 04-11-2011 10:48 AM |
ssh from Kindle 3 | aKarma | Kindle Developer's Corner | 6 | 09-21-2010 08:59 PM |