gary4gar
GaurishSharma.com
Re: **Post all your BSNL Dataone Related Queries Here**
i guess my name servers are changing automatically, even after manual editing the change
praka123 said:Access-Concentrator: EKM-RAS-CSR-01
--------------------------------------------------
AC-Ethernet-Address: 00:e0:fc:3e:80:89
********************************^ekm core server mac address
if u got ubuntu,try pppoe-discovery command to get ur output.
i think u can get the ip from mac address.right?
Code:
root@Hero:~# pppoe-discovery
Access-Concentrator: JAI-BRS-MIR-01
--------------------------------------------------
AC-Ethernet-Address: 00:e0:fc:39:78:5a
root@Hero:~# cat /etc/resolv.conf
nameserver 218.248.240.79
nameserver 218.248.240.135
root@Hero:~# nano /etc/resolv.conf #changed to Opendns servers
root@Hero:~# cat /etc/resolv.conf
nameserver 208.67.222.222
nameserver 208.67.220.220
root@Hero:~# pon dsl-provider
Plugin rp-pppoe.so loaded.
root@Hero:~# ping www.google.com
ping: unknown host www.google.com
root@Hero:~# cat /etc/resolv.conf
nameserver 218.248.240.79
nameserver 218.248.240.135
root@Hero:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:09:06:18:C6
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:9ff:fe06:18c6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:28328 errors:0 dropped:0 overruns:0 frame:4
TX packets:26890 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27789349 (26.5 MiB) TX bytes:3494024 (3.3 MiB)
Interrupt:19 Base address:0xed00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:55 errors:0 dropped:0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4360 (4.2 KiB) TX bytes:4360 (4.2 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:59.95.186.4 P-t-P:59.95.160.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:814 (814.0 b) TX bytes:54 (54.0 b)
root@Hero:~# poff dsl-provider
root@Hero:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:09:06:18:C6
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:9ff:fe06:18c6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:28367 errors:0 dropped:0 overruns:0 frame:4
TX packets:26932 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27791972 (26.5 MiB) TX bytes:3496041 (3.3 MiB)
Interrupt:19 Base address:0xed00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:57 errors:0 dropped:0 overruns:0 frame:0
TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4460 (4.3 KiB) TX bytes:4460 (4.3 KiB)
root@Hero:~#
i guess my name servers are changing automatically, even after manual editing the change