5

IP Address info from Router

Posted in Internet by parvez 2775 days ago

Installed lynx and added egrep and sed magic to get the IP Address information from my CISCO Router.

/opt/local/bin/lynx -dump -auth=admin:PASSWORD -accept_all_cookies http://192.168.1.1/Status_Router.asp | egrep -E ":  " | sed "s/   :  //g" | awk 'NR==3'

I did not want to use whatismyip.com to get my IP Address. Prefer to get the info locally.

Thanks!

Comments

User Avatar
matt 2776 days ago
Note: For this to work correctly you have to have lynx installed in `/opt/local/bin` - i.e. you have to install it via macports:

If you don't want to go to the trouble of getting MacPorts, you can install Lynx on it's own, and modify the script - most likely to `/usr/local/bin`
User Avatar
HaywoodEnubs 658 days ago
Чтобы построить по-настоящему теплоэффективный дом, надо позаботиться об утеплении не только стен, но и крыши, подробнее об этом читайте на сайте teletap.org
User Avatar
RickeyCable 657 days ago
Производство мебели на заказ в Санкт-Петербурге, подробности смотрите на сайте akro-spb.ru
User Avatar
Leroyorere 656 days ago
Кольца со вставками из драгоценных и полудрагоценных камней выглядят стильно и солидно. Не удивительно, что многие девушки мечтают, чтобы в день свадьбы жених одел им на пальчик колечко со сверкающими камнями. Читайте об этом подробнее на сайте womanmaniya.ru
User Avatar
MiliansFlita 393 days ago




If you have different problems with childbearing, best way to utilize services of professional doctors. They can help you with gestation planning and you could receive good moments in future your time. If you ready to utilize this kind of serve, we commend to go surrogacy stories here.



At mother-surrogate.com are available services from man from Ukraine. Before the operation of concept of a baby you will do any researches. It is necessary to make, cause the baby need have born safe and wealthy. Using services of these company future woman will be ready for all levels of pregnancy. Also, it is consolidate with psychology ideas.



During the time of childbearing woman will be examined 10 months. Professionals who are working at firm will model basic blood analyze and infectious analyzes. Also during the days of first 4 months you will checkup gynecologist every month.



If you desire to receive information about firm, best way to exchange information with managers. They will offer information about lands with representative offices of company. They help you to model select of services. The cost of all services is diverse.



Consequently of the explore results specialists will correct subjects. During of all process of pregnancy you can meet face to face with different results as: surgical interventions, regular diseases and other. That there were no health issues, best way to model examination of the human organism every week. It will defend of different issues with human organism and assistance to grow healthy baby.



If you were previously disease and have different problems with welfare, doctors will ensure for your human organism main diagnostic during all period of pregnancy. This anxieties the detection of malformations of the egg and diagnostic chromosomal illness. This kind of eslimate receive chance to get answer about health of future baby and physical condition of the mom health.



Surrogate mother organization will help you to exclude diverse problems. You have chance to shape your house happy. All what you needfull to connect with specialist of firm. It is feasible to make if you communicate with administrators in WhatsApp or by e-mail. You should make a call to the company Feskov Surrogacy Agency at number USA +18448927800 or Ukraine Kharkov +380577604829.



Visit center you can at address: Kiev, Lomonosova st. 71e or Kharkiv Holodnogorskaya Street 15. If you need any advices, better to connect with consultants who are working at company. If you desire need surrogacy help, this organization will help you. The main reason – they have vocational team. Feskov Surrogacy Agency will support you if you wish to be a mummy.
User Avatar
MiliansFlita 393 days ago




If you have some troubles with childbearing, better to employ services of vocational doctors. They should help you with gestation planning and you may receive enjoyable moments in future your life. If you ready to use this kind of support, we advise to go surrogate mothers online here.



At mother-surrogate.com are obtainable services from man from different countries. Before the act of concept of a baby you will do different explores. It is need to do, cause the child need have born strong and wealthy. Using services of these company future woman will be arranged for all levels of gestation. However, it is connected with psychology thoughts.



During the period of gestation clients will be examined 10 months. Professionals who are working at organization will make general blood analyze and cardiac tests. Also during the days of first 4 months you will checkup gynecologist every week.



If you want to receive news about company, better to communicate with consultants. They will ensure information about lands with representative offices of organization. They assistance you to model select of services. The price of all services is diverse.



Therefore of the explore results doctors will correct tasks. During of all process of gestation you can meet face to face with some issues as: surgical interventions, regular diseases and etc. That there were no viability issues, better to make examination of the figure every two months. It will protect of new issues with body and assistance to grow healthy baby.



If you were previously disease and have some issues with health, specialists will provide for your human organism complex diagnostic during all days of childbearing. This concerns the detection of malformations of the egg and diagnostic chromosomal illness. This kind of survey receive chance to obtain resolve about health of future kid and physical condition of the mom health.



Surrogate mom organization will help you to eliminate diverse problems. You have chance to make your family happy. All what you needfull to connect with specialist of firm. It is possible to do if you communicate with administrators in Skype or Viber. You could do a call to the office Feskov Surrogacy Agency at number Ukraine Kiev +448000698690 or Ukraine Kharkov +380577604829.



Visit company you can at direction: Kiev, Lomonosova Street 71E or Kharkiv Holodnogorskaya st. 15. If you have some advices, better to communicate with consultants who are working at organization. If you want need surrogacy services, this organization will support you. The major reason – they have professional team. Feskov Surrogacy Firm will support you if you wish to be a mother.
User Avatar
MiliansFlita 393 days ago




If you have any troubles with gestation, best way to use services of vocational medical teams. They could help you with childbearing planning and you could receive good moments in later your period. If you wish to use this kind of serve, we recommend to go find surrogate mother here.



At mother-surrogate.com are available services from woman from different countries. Before the procedure of concept of a kid you will do any explores. It is need to make, cause the kid need have born healthy and innocent. Using services of these organization future woman will be ready for all degrees of pregnancy. However, it is connected with psychics ideas.



During the period of childbearing customers will be examined 10 months. Professionals who are working at company will make general blood analyze and infectious analyzes. However during the time of first 4 months you will visit gynecologist every week.



If you want to receive information about organization, best way to communicate with consultants. They will ensure data about cities with representative offices of firm. They help you to do option of services. The value of all services is different.



According of the research results specialists will correct objectives. During of all act of gestation you can meet face to face with some issues as: inflammatory processes, regular diseases and other. That there were no health problems, best way to make examination of the human organism every two months. It will save of new issues with health and support to grow healthy kid.



If you were previously illness and have different issues with health, doctors will provide for your body complex diagnostic during all period of gestation. This concerns the detection of malformations of the embryo and diagnostic chromosomal illness. This type of eslimate receive chance to obtain answer about health of future baby and physical condition of the mom health.



Surrogate mother organization will help you to delete various problems. You have possibility to shape your house lucky. All what you needfull to communicate with manager of organization. It is possible to make if you connect with specialists in Skype or by e-mail. You could do a call to the office Feskov Surrogacy Agency at number USA +18448927800 or Ukraine Kharkov +380577604829.



Visit center you can at direction: Kiev, Lomonosova st. 71e or Kharkiv Holodnogorskaya Street 15. If you need some recommendations, better to connect with administators who are working at company. If you want need surrogacy help, this company will help you. The basic argue – they have professional team. Feskov Surrogacy Firm will help you if you want to be a mother.
User Avatar
MiliansFlita 393 days ago




If you have different troubles with gestation, rather to employ services of pro medical teams. They could help you with childbearing planning and you could receive good moments in later your period. If you ready to utilize this kind of services, we advise to go looking for surrogate mother here.



At mother-surrogate.com are obtainable services from woman from Germany. Before the operation of concept of a child you will do some explores. It is need to do, cause the baby must have born strong and honest. Using services of these firm future mom will be ready for all levels of pregnancy. As fact, it is consolidate with psychology thoughts.



During the period of gestation woman will be examined 9 months. Professionals who are working at company will do general blood analyze and infectious analyzes. As fact during the period of first 5 months you will come gynecologist every week.



If you wish to receive information about organization, best way to connect with consultants. They will offer information about lands with representative offices of firm. They assistance you to do option of services. The value of all services is different.



According of the survey results doctors will change objectives. During of all operation of childbearing you can meet face to face with some issues as: inflammatory processes, chronic diseases and etc. That there were no viability problems, better to make examination of the human organism every week. It will protect of new issues with health and support to grow healthy baby.



If you were previously sick and have some problems with health, doctors will provide for your human organism complex diagnostic during all months of childbearing. This worries the detection of malformations of the egg and diagnostic chromosomal illness. This type of diagnostic receive possibility to obtain answer about health of future child and physical condition of the mom organism.



Surrogate mummy organization will offer you to exclude various problems. You have possibility to do your house happy. All what you must to communicate with administrator of company. It is feasible to make if you communicate with administrators in Skype or by e-mail. You could do a call to the office Surrogate Motherhood Center clinic of professor Feskov at number Ukraine Kiev +448000698690 or UK +448000698690.



Visit center you can at address: Kiev, Lomonosova Street 71E or Kharkiv Holodnogorskaya st. 15. If you want to receive some recommendations, better to connect with managers who are working at organization. If you wish need surrogacy help, this company will help you. The basic argue – they have vocational team. Feskov Surrogacy Organisation will help you if you wish to be a mother.
User Avatar
MiliansFlita 393 days ago




If you have any problems with gestation, best way to utilize services of professional medical teams. They could help you with childbearing planning and you could receive good moments in later your life. If you want to employ this kind of support, we commend to go surrogate mothers online here.



At mother-surrogate.com are available services from woman from Ukraine. Before the operation of concept of a kid you will do different researches. It is need to make, cause the child must have born healthy and wealthy. Using services of these firm future mother will be arranged for all levels of gestation. However, it is combine with psychics thoughts.



During the time of pregnancy customers will be examined 10 months. Professionals who are working at firm will do basic blood analyze and infectious analyzes. As fact during the period of first 3 months you will visit gynecologist every week.



If you wish to receive data about organization, best way to exchange information with managers. They will ensure information about countries with representative offices of company. They help you to do select of services. The cost of all services is various.



According of the survey results professionals will change tasks. During of all process of pregnancy you can meet face to face with any problems as: surgical interventions, regular diseases and other. That there were no health problems, best way to do examination of the body every two months. It will protect of new problems with body and support to grow healthy kid.



If you were previously sick and have some issues with health, doctors will ensure for your body main diagnostic during all months of gestation. This concerns the detection of malformations of the fetus and diagnostic chromosomal diseases. This type of eslimate receive possibility to get decision about health of future child and physical condition of the mom health.



Surrogate mummy company will offer you to exclude different problems. You have opportunity to do your house lucky. All what you need to communicate with administrator of firm. It is feasible to do if you communicate with managers in Skype or Viber. You can make a call to the organization Surrogate Motherhood Center clinic of professor Feskov at number Ukraine Kiev +448000698690 or UK +448000698690.



Visit company you should at address: Kiev, Lomonosova Street 71E or Kharkiv Holodnogorskaya st. 15. If you want to receive different help, best way to connect with administators who are working at company. If you want need surrogacy services, this firm will support you. The basic cause – they have professional team. Feskov Surrogacy Firm will support you if you wish to be a mom.
User Avatar
MiliansFlita 381 days ago
If you have any issues with pregnancy, best way to employ services of vocational specialists. They should help you with pregnancy planning and you may receive good moments in later your period. If you ready to utilize this kind of serve, we recommend to go mother-surrogate.com here.



At mother-surrogate.com are accessible services from man from Ukraine. Before the act of conception of a baby you will do any researches. It is needfull to make, cause the kid need have born safe and innocent. Using services of these company future mother will be prepared for all levels of childbearing. However, it is combine with psychology opinions.



During the ocasion of gestation woman will be examined 9 months. Professionals who are working at firm will make general blood analyze and cardiac tests. However during the period of first 3 months you will checkup gynecologist every week.



If you want to receive information about organization, best way to exchange information with consultants. They will ensure information about lands with representative offices of firm. They support you to do choice of services. The value of all services is different.



Consequently of the explore results professionals will correct objectives. During of all operation of childbearing you can meet face to face with different problems as: inflammatory processes, chronic diseases and other. That there were no viability problems, best way to do examination of the human organism every week. It will defend of old problems with body and support to grow healthy baby.



If you were previously sick and have different problems with welfare, professionals will ensure for your body basic diagnostic during all period of childbearing. This worries the detection of malformations of the embryo and diagnostic chromosomal diseases. This type of survey receive chance to obtain decision about health of future child and physical condition of the mom organism.



Surrogate mother agency will offer you to delete diverse problems. You have opportunity to do your house joyful. All what you needfull to connect with manager of company. It is possible to do if you connect with administrators in WhatsApp or by e-mail. You should do a call to the company Surrogate Motherhood Center clinic of professor Feskov at number USA +18448927800 or UK +448000698690.



Visit center you can at direction: Kiev, Lomonosova Street 71E or Kharkiv Holodnogorskaya Street 15. If you have different recommendations, better to connect with managers who are working at organization. If you desire need surrogacy help, this organization will help you. The basic cause – they have professional team. Feskov Surrogacy Agency will support you if you desire to be a mom.
User Avatar
MiliansFlita 381 days ago
If you have some problems with childbearing, rather to use services of vocational doctors. They should help you with gestation planning and you can receive enjoyable moments in later your time. If you ready to employ this kind of services, we advise to go mother-surrogate.com here.



At mother-surrogate.com are obtainable services from woman from Ukraine. Before the act of conception of a kid you will do different investigates. It is needfull to make, cause the child need have born strong and innocent. Using services of these company future woman will be arranged for all degrees of pregnancy. Also, it is combine with psychics ideas.



During the period of childbearing clients will be examined 9 months. Doctors who are working at firm will make general blood analyze and infectious analyzes. As fact during the days of first 3 months you will come gynecologist every month.



If you want to obtain information about organization, better to connect with consultants. They will offer data about lands with representative offices of organization. They support you to model option of services. The value of all services is diverse.



Therefore of the explore results professionals will correct objectives. During of all process of pregnancy you can meet face to face with some problems as: inflammatory processes, regular diseases and etc. That there were no viability issues, better to make examination of the figure every week. It will save of different problems with human organism and help to grow healthy child.



If you were previously disease and have any issues with welfare, doctors will ensure for your body main diagnostic during all days of pregnancy. This anxieties the detection of malformations of the egg and diagnostic chromosomal diseases. This kind of eslimate receive chance to receive answer about health of future child and physical condition of the mother health.



Surrogate mother agency will help you to exclude various problems. You have opportunity to shape your house happy. All what you must to connect with specialist of organization. It is probable to make if you communicate with managers in WhatsApp or Viber. You can make a call to the office Surrogate Motherhood Center clinic of professor Feskov at number Ukraine Kiev +448000698690 or Ukraine Kharkov +380577604829.



Visit company you can at address: Kiev, Lomonosova Street 71E or Kharkiv Holodnogorskaya st. 15. If you want to receive some advices, best way to connect with administators who are working at organization. If you desire need surrogacy advise, this firm will help you. The basic argue – they have vocational team. Feskov Surrogacy Agency will support you if you wish to be a mom.
User Avatar
MiliansFlita 381 days ago
If you have some troubles with childbearing, rather to use services of vocational medical teams. They can help you with gestation planning and you may receive pleasant moments in later your period. If you ready to employ this kind of serve, we advise to go mother-surrogate.com here.



At mother-surrogate.com are available services from woman from Ukraine. Before the operation of concept of a child you will do different researches. It is needfull to do, cause the child need have born healthy and innocent. Using services of these organization future woman will be arranged for all steps of pregnancy. Also, it is connected with psychics ideas.



During the ocasion of pregnancy customers will be examined 9 months. Specialists who are working at firm will model basic blood analyze and cardiac tests. Also during the time of first 3 months you will visit gynecologist every month.



If you want to obtain data about firm, better to exchange information with managers. They will offer information about lands with representative offices of organization. They support you to model select of services. The price of all services is different.



Consequently of the explore results professionals will correct objectives. During of all operation of gestation you can meet face to face with different issues as: inflammatory processes, chronic diseases and etc. That there were no viability issues, best way to make examination of the body every month. It will protect of old issues with human organism and assistance to grow healthy kid.



If you were previously illness and have different issues with health, specialists will ensure for your human organism main diagnostic during all days of gestation. This worries the detection of malformations of the embryo and diagnostic chromosomal illness. This type of diagnostic receive chance to get answer about health of future baby and physical condition of the mother organism.



Surrogate mother agency will help you to delete different problems. You have chance to shape your family happy. All what you needfull to communicate with manager of company. It is feasible to do if you call with administrators in Skype or Viber. You should do a call to the office Feskov Surrogacy Agency at number Ukraine Kiev +448000698690 or UK +448000698690.



Visit clinic you can at address: Kiev, Lomonosova Street 71E or Kharkiv Holodnogorskaya st. 15. If you need some advices, better to connect with consultants who are working at firm. If you desire need surrogacy advise, this firm will support you. The main cause – they have professional team. Feskov Surrogacy Agency will support you if you desire to be a mummy.
User Avatar
MiliansFlita 381 days ago
If you have any troubles with pregnancy, rather to utilize services of vocational specialists. They can help you with childbearing planning and you may receive enjoyable moments in hereafter your life. If you wish to utilize this kind of support, we recommend to go mother-surrogate.com here.



At mother-surrogate.com are available services from man from Germany. Before the operation of concept of a baby you will do some explores. It is need to do, cause the kid need have born healthy and honest. Using services of these firm future mom will be ready for all levels of pregnancy. As fact, it is combine with psychics ideas.



During the time of pregnancy clients will be examined 9 months. Professionals who are working at company will do main blood analyze and infectious analyzes. As fact during the days of first 3 months you will visit gynecologist every week.



If you wish to get data about firm, better to connect with managers. They will provide information about countries with representative offices of organization. They support you to make option of services. The cost of all services is different.



Consequently of the research results doctors will adjust tasks. During of all process of gestation you can meet face to face with any results as: inflammatory processes, chronic diseases and other. That there were no health problems, best way to model examination of the figure every month. It will protect of old problems with body and support to grow healthy kid.



If you were previously illness and have different problems with health, specialists will provide for your health basic diagnostic during all months of childbearing. This concerns the detection of malformations of the fetus and diagnostic chromosome diseases. This kind of survey receive possibility to obtain answer about health of future child and physical condition of the mom health.



Surrogate mom company will offer you to eliminate diverse problems. You have possibility to make your family joyful. All what you need to connect with manager of company. It is possible to make if you call with administrators in WhatsApp or by e-mail. You could do a call to the company Feskov Surrogacy Agency at number Ukraine Kiev +448000698690 or Ukraine Kharkov +380577604829.



Visit clinic you can at address: Kiev, Lomonosova st. 71e or Kharkiv Holodnogorskaya st. 15. If you want to receive different recommendations, better to communicate with managers who are working at company. If you want need surrogacy services, this firm will support you. The basic argue – they have vocational team. Feskov Surrogacy Organisation will support you if you want to be a mother.
User Avatar
MiliansFlita 381 days ago
If you have different issues with childbearing, better to use services of professional doctors. They can help you with gestation planning and you may receive good moments in later your period. If you wish to utilize this kind of serve, we commend to go mother-surrogate.com here.



At mother-surrogate.com are obtainable services from woman from different countries. Before the act of conception of a child you will do some investigates. It is necessary to do, cause the child must have born healthy and innocent. Using services of these organization future woman will be prepared for all degrees of gestation. However, it is connected with psychology opinions.



During the time of childbearing customers will be examined 9 months. Specialists who are working at organization will make main blood analyze and cardiac tests. However during the time of first 3 months you will visit gynecologist every week.



If you wish to obtain information about company, better to connect with managers. They will ensure information about lands with representative offices of firm. They help you to model select of services. The value of all services is different.



Consequently of the explore results professionals will correct objectives. During of all act of gestation you can meet face to face with some issues as: surgical interventions, chronic diseases and other. That there were no viability problems, better to do examination of the human organism every week. It will protect of different problems with health and assistance to grow healthy kid.



If you were previously disease and have some issues with welfare, doctors will ensure for your human organism main diagnostic during all months of pregnancy. This anxieties the detection of malformations of the fetus and diagnostic chromosome diseases. This kind of diagnostic receive chance to get answer about health of future kid and physical condition of the mom organism.



Surrogate mother agency will offer you to delete various problems. You have opportunity to make your family lucky. All what you need to communicate with administrator of organization. It is feasible to do if you call with managers in WhatsApp or Viber. You should make a call to the company Feskov Surrogacy Agency at number USA +18448927800 or Ukraine Kharkov +380577604829.



Visit clinic you should at direction: Kiev, Lomonosova st. 71e or Kharkiv Holodnogorskaya st. 15. If you want to receive any recommendations, better to connect with administators who are working at company. If you want need surrogacy advise, this company will support you. The basic reason – they have vocational team. Feskov Surrogacy Agency will help you if you wish to be a mom.
User Avatar
parvez 2771 days ago
Thanks Matt for the additional info!
User Avatar
dylanjnsn022 2687 days ago
you jus do this

********************************************

ifconfig | grep 'broadcast'| awk '{print $2 }'

********************************************

does the same thing
User Avatar
parvez 2684 days ago
@dylanjnsn022 That does not give you the public IP address.
User Avatar
parvez 2684 days ago
User Avatar
GYLLIWER 2674 days ago
5+
User Avatar
cessnakid 2547 days ago
nice
User Avatar
hawk 2435 days ago
You don't need lynx for this, curl can do the job (and is installed on every mac).

Here is the command I'm using to get the IP from my NETGEAR WNDR3400v2 router running the firmware version V1.0.0.34_1.0.52

echo "IP address\n$(curl -u admin:password http://192.168.1.1/RST_st_dhcp.htm 2>/dev/null | egrep -iA 2 "ip address" | egrep -o '([0-9]{1,3}\.?){4}')"

You may need a different pattern to search for, so open the status page of your router's web interface and study the HTML source code. In my case, the relevant part looks like this:

Edit: Nevermind, the markdown on this site is broken.
User Avatar
ksb 2348 days ago
If you put your password in ~/.netrc ( see the curl manual page), then you may use

this command for a QWest or Century Link modem:

> curl -s --netrc http://192.168.0.1/modemstatus_home.html

That gets you the raw text, then a grep for

> var wanInfNames = htmlDecodeStr

Gets you a line with all sorts of great things to know about the modem. I parsed

that with a little perl, and now I have a near-real-time external IP address.

Log in to comment or register here.