Re: Renaming localhost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mauricio,

Thanks for your reply. I am new to Linux and am still learning. I looked
up what IP route tables are on the net and I think you meant
the /etc/iproute2/rt_tables which shows;

255	local
254	main
253	default
0	unspec

I can ping both localhost and compname but can't reach on browser.

Thanks,
Regards, Raja.


On Wed, 2016-02-10 at 08:38 -0500, Mauricio Tavares wrote:
> On Wed, Feb 10, 2016 at 4:57 AM, Raja <raja@xxxxxxxxxx> wrote:
> > Hello,
> >
> > I sometimes work in remote sites with no network. I have the same setup
> > on different machines and I need the server name to know dynamically
> > where to do changes, etc.
> >
> > I edited /etc/hosts to show
> > 127.0.0.1 localhost somename
> >
> > Now, with my Wifi off I am trying `http://somename` and it is not
> > connecting. If I turn my wifi on, it works. But I need it to work with
> > no connection. How can I resolve this?
> >
>       Check what your routing table looks like when wifi is off. Also,
> can you ping it (and localhost) when wifi is off?
> 
> > Thanks!
> > Regards, Raja.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux