Today suddenly I need to write something by hand. I tried to find lined templates on the internet but couldn’t find any that is free (unbelievable!). I know it’s easy to create such a template using Word but sometimes you just don’t have the time.
So here’s what I whipped up, enjoy it for the great price of FREE!
How to hack your iptime router and get complete access to its function
Works up to firmware v9.27
You need administrator password to do anything
The default administrator account for iptime is username admin / password admin
You can’t hack other people’s router with this as you need the admin account anyway, not to mention it’s illegal in Korea 😉
Introduction
IPTIME Is a popular router brand in Korea. You can’t ssh to it, you can’t telnet to it. But they have a backdoor where you can get shell access via the web interface…
How to access this
Check your firmware version, if the version is <= 9.12, the password is #notenoughmineral^, if the version is > 9.12 upto 9.27, it’s [email protected]*&. If newer, I don’t know the password yet.
Login to your router, note the second part of the URL, is it cgi-bin or sess-bin?
Go to http://<your router ip>/<second part above/d.cgi?aaksldkfj=<the password>
You should see a screen similar to above. Congrats, you got shell access to your router.
Type apps & into the search box in the bottom left of the taskbar.
Click Apps & features in the search results. The Settings app will open.
On the Apps & features page in the Settings app, type Ubuntu, or the name of the Linux distribution you want to reset, in the ‘Search this list’ box.
Ubuntu, or the name of your Linux distribution, will appear. Click it and then click Advanced options.
In the Settings app, scroll down the list of options until you see Reset. There are two options, Repair and Reset. We want to reset our distribution, so click Reset.
You will see a warning that resetting the app will permanently delete its data and sign-in preferences. Click Reset again in the pop-out dialog.
The resetting process will take a few seconds. Once it’s complete, a tick icon will appear to the right of the Reset button.
Changing mount path of WSL from /mnt/c to /c
This works for all of your drives at once. Create /etc/wsl.conf with this content
# Enable extra metadata options by default
[automount]
enabled = true
root = /
options = "metadata,umask=22,fmask=11"
mountFsTab = false
# Enable DNS – even though these are turned on by default, we’ll specify here just to be explicit.
[network]
generateHosts = true
generateResolvConf = true
1. Set permissions to the target folder. First, I think you must set some permissions to the folder where the distribution will be moved. You may use icacls <dir> /grant "<user>:(OI)(CI)(F)" to set the proper permissions.
Use the mirror protocol to automatically select the best mirror
Using mirror protocol as part of your /etc/apt/sources.list
entry will instruct apt command to fetch mirrors located within your
country only. In order to use mirror protocol update all lines within /etc/apt/sources.list file from the usual eg.:
deb http://us.archive.ubuntu.com/ubuntu/ ...
to:
deb mirror://mirrors.ubuntu.com/mirrors.txt ...
Repeat the above for all relevant lines where appropriate. Alternatively, use sed command to automatically edit your /etc/apt/sources.list file. Update the below sed command where appropriate to fit your environment:
$ sudo sed -i -e 's/http:\/\/archive/mirror:\/\/mirrors/' -e 's/\/ubuntu\//\/mirrors.txt/' /etc/apt/sources.list