Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pollybrowne

macrumors regular
Original poster
Nov 4, 2009
125
6
I updated a tweak and almost all of my icons including Cydia dissappeared. Even in Safemode Cydia is not there.

I thought the next step would be to SSH into the phone with WNSCP to remove the tweak but how can I find out the IP address for the phone without access to Settings as that was one of the app icons that has disappeared.

Thanks
 
I updated a tweak and almost all of my icons including Cydia dissappeared. Even in Safemode Cydia is not there.

I thought the next step would be to SSH into the phone with WNSCP to remove the tweak but how can I find out the IP address for the phone without access to Settings as that was one of the app icons that has disappeared.

Thanks

Try all (at least up to 115-120) numbers starting with 100 as is in:

ssh root@192.168.1.100

----------

Try all (at least up to 115-120) numbers starting with 100 as is in:

ssh root@192.168.1.100

And if this doesn't help, peek into

~/.ssh/known_hosts

(on a Mac).

It'll list all the IP's you've previously SSH'ed into along with other info. Try those IP's. Generally, routers give out the same local IP's to mobile devices and they rarely change.
 
It'll list all the IP's you've previously SSH'ed into along with other info. Try those IP's. Generally, routers give out the same local IP's to mobile devices and they rarely change.


generally routers and backbones tend to give out the same IP addresses to the same mac addresses every time unless that IP address is unavailable.. sit was sooo cache
:cool:
 
Try all (at least up to 115-120) numbers starting with 100 as is in:

ssh root@192.168.1.100

----------



And if this doesn't help, peek into

~/.ssh/known_hosts

(on a Mac).

It'll list all the IP's you've previously SSH'ed into along with other info. Try those IP's. Generally, routers give out the same local IP's to mobile devices and they rarely change.

why start with 100?
shouldn't it be starting 192.168.1.2?

----------

I updated a tweak and almost all of my icons including Cydia dissappeared. Even in Safemode Cydia is not there.

I thought the next step would be to SSH into the phone with WNSCP to remove the tweak but how can I find out the IP address for the phone without access to Settings as that was one of the app icons that has disappeared.

Thanks

generally speaking, if you log into your router's login page, usually 192.168.1.1, it'll list out all the local IPs for each device connected to it
 
Download the .deb of a tweak called “ShowIP for NotificationCenter” (Free). Link copy the .deb to Cydia's auto install folder on your device via iTools or any system files browser and reboot, then you should be able to see your IP address in your notifications center and access your device from WinSCP. This step could be a lot easier if you have iFile installed.
 
That wouldn't work on any of my routers. All of mine start at 1. Some are 192.168.0.1 - 192.168.0.254, some are 192.168.10.1 - 192.168.10.254.

For the future, I recommend getting SSH over USB set up: http://www.iphonedevwiki.net/index.php?title=SSH_Over_USB

Most routers are set up to allow the first 99 clients to be statically set therefore they start at 100 with DHCP.. Also, with most routers the 0.1 address is going to be the router interface so no host will actually get that address. It would be best to log into your router and figure out with the DHCP addresses start from and then iterate through them, or you could always once you log into the router check the lan area it will tell you what clients are connected and most often they have the NetBIOS hostname listed there next to the IP address.
 
Most routers are set up to allow the first 99 clients to be statically set therefore they start at 100 with DHCP..
That's not true at all.

Also, with most routers the 0.1 address is going to be the router interface so no host will actually get that address. It would be best to log into your router and figure out with the DHCP addresses start from and then iterate through them, or you could always once you log into the router check the lan area it will tell you what clients are connected and most often they have the NetBIOS hostname listed there next to the IP address.
That's true.
 
That's not true at all.


Well it really depends but generally most Linksys routers do start at either 100 or 150, as does the Comcast Xfinity router and most d-links from what I've been seeing.. Unless you're speaking of the Cisco industrial routers in which case you have full set up on that manually.


From http://wiki.openwrt.org/doc/uci/dhcp#dhcp.pools :

Sections of the type dhcp specify per interface lease pools and settings for serving DHCP requests. Typically there is at least one section of this type present in the /etc/config/dhcp file to cover the lan interface.
You can disable a lease pool for a specific interface by specifying the ignore option in the corresponding section.
A minimal example of a dhcp section is listed below:
config 'dhcp' 'lan'
option 'interface' 'lan'
option 'start' '100'
option 'limit' '150'
option 'leasetime' '12h'
lan specifies the OpenWrt interface that is served by this DHCP pool
100 is the offset from the network address, in the default configuration 192.168.1.100
150 is the maximum number of addresses that may be leased, in the default configuration 192.168.1.250
12h specifies the time to live for handed out leases, twelve hours in this example
 
Most routers are set up to allow the first 99 clients to be statically set therefore they start at 100 with DHCP.. Also, with most routers the 0.1 address is going to be the router interface so no host will actually get that address. It would be best to log into your router and figure out with the DHCP addresses start from and then iterate through them, or you could always once you log into the router check the lan area it will tell you what clients are connected and most often they have the NetBIOS hostname listed there next to the IP address.

that doesn't seem to be the case for my router; you would need to manually set it if you want x clients to have a static local IP

mines just automatically start assigning them starting from .2
 
And if you can't get into your router then download an IP scanner on to your computer (e.g., Angry IP Scanner is free and cross platform) and see what IP address on the LAN is used while not associated with any other known device
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.