Re: Laptop Connects to WAP, But Cannot Access 'Net
"Bradley D. Thornton" <[email protected]>
| Newsgroups | gmane.linux.slackware |
|---|---|
| Organization | NorthTech Computer |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 oopsie. I left a couple of things out, sort of ;) see below... On 03/26/2012 05:47 PM, Bradley D. Thornton wrote: > > > PING gw (192.168.1.1) 56(84) bytes of data. In case you were wondering, something akin to the following is in my /etc/hosts ;) <code> 192.168.1.1 gw gateway gloryhole whatev-hostname-you-want </code> > <code> > # echo 8.8.8.8 gnds >> /etc/hosts > # ping gdns > </code> obviously, that's a typo in the echo command. it should have been 'gdns'. All you're doing here is making it possible to ping the DNS server with any hostname you want assign it with. It would be just as simple (and more clinical), to do the ping and dig as follows: <code> # ping -c1 8.8.8.8 # dig @8.8.8.8 ibm.com a </code> putting the 'nameserver 8.8.8.8' in your /etc/resolv.conf simply means that you can omit the '@8.8.8.8' or '@gdns' in your invocation of dig. use whichever floats your boat :) Sorry about any confusion that may have caused :( Kindest regards, - -- Bradley D. Thornton Manager Network Services NorthTech Computer TEL: +1.310.388.9469 (US) TEL: +44.203.318.2755 (UK) TEL: +41.43.508.05.10 (CH) http://NorthTech.US -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Find this cert at x-hkp://pool.sks-keyservers.net iQEcBAEBAwAGBQJPcRIxAAoJEE1wgkIhr9j37LAH/j0urhivhbL5s1dhtYTNHEEI 9nV+T/XdXRWP4Zqnt3HysrkGQM/z1kaeuYcfbgibzL7w9I4rW9ikPCU18cGR7eUh TKtrL1lS0PzNiVjcoudrJjNCmqxjKk1gzreQVuK6vsKKc+yEzDIt9T9nEAvDDPVp ALPEzBPpAztX+BA8quT80DnKZEYRu/8kL1iEpZNFA2ZBmef6CdeJDUbqJBmqgwNe AlzUtWuzlx/y0sfVlmwsM6G+FnSRkUed9SmyWWxpsRDlD6IyV3sqGbG6ygWo/5tc BfMeLGMlYtvXbBwv8LD63nKP6pV9RFCBlPWvsCoopelMTWTRZ37H6qKSElIrsiw= =OhOy -----END PGP SIGNATURE-----