- Nov 30, 2012
- 22,757
- 617
- 121
I am reading about installing Optware into a router and have read that if I want to modify the Asiablock IP addresses I need to use VI editor. What is VI editor and how do I use it?
This is what I'm reading. http://www.dd-wrt.com/wiki/index.php/Optware%2C_the_Right_Way#Getting_Started
I'm a Linux noob.
Here is the relevant info I read that doesn't explain how to use VI. It just says search the Internet. I don't won't to block Australia, but I do want to add countries.
This is what I'm reading. http://www.dd-wrt.com/wiki/index.php/Optware%2C_the_Right_Way#Getting_Started
I'm a Linux noob.
Here is the relevant info I read that doesn't explain how to use VI. It just says search the Internet. I don't won't to block Australia, but I do want to add countries.
Countries that are blocked by default are:
You can also add or remove countries by editing the Asiablock Script using VIM. To do this, shutdown Asiablock with the stop and off parameters, then type vi /opt/etc/init.d/S95asiablock
- cn = China
- af = Afghanistan
- au = Australia
- pk = Pakistan
- in = India
- my = Malaysia
- ua = Ukrain
- ng = Nigeria
- kh = Cambodia
- li = Liechtenstein
It is wise to know what you are doing before you do this though. Search the forums or the net for instructions.
Last edited: