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

Re: interfaces lo:1 lo:2 lo:3? SOLVED



On Fri, Jun 25 at 07:43AM -0400, Hendrik Boom wrote:
> On Thu, Jun 24, 2004 at 10:18:39PM -0500, Will Trillich wrote:
> > 
> > can linux have multiple 127.0.0.1 interfaces? if so, how?
> 
> As far as I know, every IP number from 127.0.0.1 ro 127.255.255.255
> does a loopback.
> 
> -- hendrik

hmm. could it be?

$ ping 127.33.55.77
PING 127.33.55.77 (127.33.55.77): 56 data bytes
64 bytes from 127.33.55.77: icmp_seq=0 ttl=255 time=0.4 ms
64 bytes from 127.33.55.77: icmp_seq=1 ttl=255 time=0.2 ms

--- 127.33.55.77 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.2/0.3/0.4 ms

$ ping 127.0.0.19
PING 127.0.0.19 (127.0.0.19): 56 data bytes
64 bytes from 127.0.0.19: icmp_seq=0 ttl=255 time=0.3 ms
64 bytes from 127.0.0.19: icmp_seq=1 ttl=255 time=0.2 ms
64 bytes from 127.0.0.19: icmp_seq=2 ttl=255 time=0.2 ms

--- 127.0.0.19 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.2/0.2/0.3 ms


well, batten my hatches! much simpler than i thought...
many thanks for the pointer. (boy do i feel silly.)

-- 
I use Debian/GNU Linux version 3.0;
Linux boss 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 unknown
 
DEBIAN NEWBIE TIP #94 from Joost Kooij <joost@topaz.mdcc.cx>
:
How do you RESTORE THE DEFAULT PERMISSIONS back on the / tree?
If you have a clean host with very similar filesystem contents,
try this:
	ssh root@okayhost "find / -regex '/\(mnt\|proc\|tmp\)/.*' -prune -or \
	  -not -type l -not -type s -printf '%04.4m %u %g %p\n' " \
	| while read mode user group path
	do 
	  chown $user.$group $path 
	  chmod $mode $path 
	done 
Alternatively, create a huge script like this:
	find / -regex '/\(mnt\|proc\|tmp\)/.*' -prune -or \
	  -not -type l -not -type s -printf 'chown %u.%g %p\nchmod %m %p\n' \
	  > fixperms.sh
And copy that to the broken machine and run "sh fixperms".
  It might not fix all files, unless the two hosts are nearly
equal, but enough to let you find the missing ones to fix by
hand.  Maybe /home/* will need special care.

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: