Re: [OT]Re: any utility to change ip

2013-10-03 Thread Lisi Reisz
On Monday 23 September 2013 12:54:42 Chris Bannister wrote:
 Here, some people (esp. the media) have this annoying habit of
 saying dub dub dub instead of WWW

What about dubya dubya dubya?  I always hear that as Dubya (i.e. a 
name!). ;-)

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201310032312.35230.lisi.re...@gmail.com



Re: [OT]Re: any utility to change ip

2013-10-03 Thread Chris Bannister
On Thu, Oct 03, 2013 at 11:12:35PM +0100, Lisi Reisz wrote:
 On Monday 23 September 2013 12:54:42 Chris Bannister wrote:
  Here, some people (esp. the media) have this annoying habit of
  saying dub dub dub instead of WWW
 
 What about dubya dubya dubya?  I always hear that as Dubya (i.e. a 
 name!). ;-)

You mean like George Dubya Bush? :)

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131004035416.GD13589@tal



Re: any utility to change ip

2013-09-25 Thread Tom H
On Sun, Sep 22, 2013 at 2:33 PM, Pascal Hambourg pas...@plouf.fr.eu.org wrote:
 Bob Proulx a écrit :

 OT Rant: It annoys me that recent Linux kernels reverse the order of
 the route lines. Previously it would have been scanned from top to
 bottom and the first line matching wins. But now it is upside down
 and must be scanned from bottom to top.

 Can you please elaborate ?

The order of routes displayed by ip r and route -n used to be from
larger to smaller masks but it's now from smaller to larger masks. So
now the default route (mask 0.0.0.0) is displayed at the top of the
list.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SzUszarPT40iCnrnktvO37D-swET6QyqHK=4prkhhv...@mail.gmail.com



Re: any utility to change ip

2013-09-24 Thread Tom H
On Fri, Sep 20, 2013 at 9:13 AM, Jerry Stuckle jstuc...@attglobal.net wrote:
 On 9/20/2013 4:21 AM, Andrei POPESCU wrote:
 On Mi, 17 iul 13, 18:43:22, Gary Dale wrote:

 ifconfig can be used to both query and change the ip addresses of
 network interfaces on your machine. Used with no arguments, it lists
 all known interfaces and gives a lot of information about them.

 It's still in use in Jessie so reports of its demise may be premature.

 'ip a' (short for 'ip addr') shows almost the same information, is
 available to users without using the full path and is shorter to type ;)

 Sure, it's ALMOST the same information. But it doesn't show everything
 ifconfig does.

ifconfig and route are deprecated (1).

If you mean by doesn't show everything ifconfig does that ip a
doesn't show the TX and RX stats, then yes it doesn't, but they're of
no interest in 99% of cases when running ifconfig. And you can get
them with ip -s l if you need them.

1) http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SyspoAwY__C8ppewwutrGx5=oqw4tzgvawbv2j8qdm...@mail.gmail.com



Re: [OT]Re: any utility to change ip

2013-09-23 Thread Chris Bannister
On Sun, Sep 22, 2013 at 04:41:53PM +, Curt wrote:
 
 What's really interesting is that people say WWW (nine syllables),
 instead of World Wide Web (three).

Here, some people (esp. the media) have this annoying habit of saying
dub dub dub instead of WWW 

Akela should feed them to the wolfpack for plagarism.

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130923115441.GC10219@tal



Re: [OT]Re: any utility to change ip

2013-09-23 Thread Ralf Mardorf
On Mon, 2013-09-23 at 23:54 +1200, Chris Bannister wrote:
 On Sun, Sep 22, 2013 at 04:41:53PM +, Curt wrote:
  
  What's really interesting is that people say WWW (nine syllables),
  instead of World Wide Web (three).
 
 Here, some people (esp. the media) have this annoying habit of saying
 dub dub dub instead of WWW

In German it's similar to [we][we][we] (not completely correct phonetic
script), don't confuse it with the word we [wi:]. Not double u double
u double u. They say [we][we][we] in the media privately we often simply
say foo.com without the www.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1379938482.1022.163.camel@archlinux



[OT]Re: any utility to change ip

2013-09-22 Thread Marko Randjelovic
On Fri, 20 Sep 2013 11:21:13 +0300
Andrei POPESCU andreimpope...@gmail.com wrote:

 On Mi, 17 iul 13, 18:43:22, Gary Dale wrote:
  
  ifconfig can be used to both query and change the ip addresses of
  network interfaces on your machine. Used with no arguments, it lists
  all known interfaces and gives a lot of information about them.
  
  It's still in use in Jessie so reports of its demise may be
  premature.
 
 'ip a' (short for 'ip addr') shows almost the same information, is 
 available to users without using the full path and is shorter to
 type ;)
 
 Kind regards,
 Andrei

It's quite interesting people always use 'IP' as short for 'IP address'. I've 
never seen 'IPA', which is obviously most correct, most logical and most 
natural. 

-- 
Marko Ranđelović, B.Sc.
Software Developer
Niš, Serbia
marko...@eunet.rs
http://mr.flossdaily.org

Note: If you see a nonsense enclosed between lines

BEGIN PGP SIGNATURE
END PGP SIGNATURE

then this message is digitally signed using OpenPGP compliant software.
You need an appropriate plugin for your email client or other OpenPGP
compliant software in order to verify the signature. However, the concept
of computer insecurity implies digital signature is not absolute proof of
identity.


Note: If you see a nonsense enclosed between lines

BEGIN PGP SIGNATURE
END PGP SIGNATURE

then this message is digitally signed using OpenPGP compliant software.
You need an appropriate plugin for your email client or other OpenPGP
compliant software in order to verify the signature. However, the concept
of computer insecurity implies digital signature is not absolute proof of
identity.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130922092747.71afd...@eunet.rs



Re: [OT]Re: any utility to change ip

2013-09-22 Thread Ralf Mardorf
On Sun, 2013-09-22 at 09:27 +0200, Marko Randjelovic wrote:
 -- 
 Marko Ranđelović, B.Sc.
 Software Developer
 Niš, Serbia
 marko...@eunet.rs
 http://mr.flossdaily.org
 
 Note: If you see a nonsense enclosed between lines
 
 BEGIN PGP SIGNATURE
 END PGP SIGNATURE
 
 then this message is digitally signed using OpenPGP compliant software.
 You need an appropriate plugin for your email client or other OpenPGP
 compliant software in order to verify the signature. However, the concept
 of computer insecurity implies digital signature is not absolute proof of
 identity.
 
 
 Note: If you see a nonsense enclosed between lines
 
 BEGIN PGP SIGNATURE
 END PGP SIGNATURE
 
 then this message is digitally signed using OpenPGP compliant software.
 You need an appropriate plugin for your email client or other OpenPGP
 compliant software in order to verify the signature. However, the concept
 of computer insecurity implies digital signature is not absolute proof of
 identity.

Your signature contains duplicated information and this information sent
one time already is a little bit long, please consider to send this
paragraph just one time. TIA


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1379836720.742.290.camel@archlinux



Re: [OT]Re: any utility to change ip

2013-09-22 Thread Curt
On 2013-09-22, Marko Randjelovic marko...@eunet.rs wrote:

 It's quite interesting people always use 'IP' as short for 'IP
 address'. I've never seen 'IPA', which is obviously most correct, most
 logical and most natural. 

What's really interesting is that people say WWW (nine syllables),
instead of World Wide Web (three).

That is if I'm counting my syllables better than I count my characters (missing
both Space and Enter in another thread. Of course Jerry missed Enter and
he's an expurt).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnl3u7fd.2u4.cu...@einstein.electron.org



Re: any utility to change ip

2013-09-22 Thread Pascal Hambourg
Hello,

Bob Proulx a écrit :
 
 OT Rant: It annoys me that recent Linux kernels reverse the order of
 the route lines.  Previously it would have been scanned from top to
 bottom and the first line matching wins.  But now it is upside down
 and must be scanned from bottom to top.

Can you please elaborate ?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/523f37e2.50...@plouf.fr.eu.org



Re: any utility to change ip

2013-09-22 Thread Bob Proulx
Pascal Hambourg wrote:
 Bob Proulx a écrit :
  OT Rant: It annoys me that recent Linux kernels reverse the order of
  the route lines.  Previously it would have been scanned from top to
  bottom and the first line matching wins.  But now it is upside down
  and must be scanned from bottom to top.
 
 Can you please elaborate ?

In Linux 2.6.32 in Debian Squeeze 6 the kernel would print the route
table in normal order.  That is the same order as Unix and BSD did.
(Example from a laptop with a vpn and some interesting routes for the
example.)

  $ route -n
  Kernel IP routing table
  Destination Gateway Genmask Flags Metric RefUse Iface
  172.27.61.1 0.0.0.0 255.255.255.255 UH0  00 tun0
  192.168.240.0   172.27.61.1 255.255.255.0   UG0  00 tun0
  192.168.224.0   0.0.0.0 255.255.255.0   U 0  00 wlan0
  192.168.230.0   172.27.61.1 255.255.255.0   UG0  00 tun0
  0.0.0.0 192.168.224.1   0.0.0.0 UG0  00 wlan0

  $ ip route show
  172.27.61.1 dev tun0  proto kernel  scope link  src 172.27.61.4 
  192.168.240.0/24 via 172.27.61.1 dev tun0 
  192.168.224.0/24 dev wlan0  proto kernel  scope link  src 192.168.224.102 
  192.168.230.0/24 via 172.27.61.1 dev tun0 
  default via 192.168.224.1 dev wlan0 

When determining a route for any particular network packet you can
look at this as a table from top to bottom.  That is convenient and
matches normal human brain thinking.

Let's say I am sending a ping to a device on my local subnet
192.168.224.10.  First try to match against 172.27.61.1.  No match.
Then try against 192.168.240.0/24.  No match.  Then try against
192.168.224.0/24.  Yes.  Matched.  Send the packet directly to wlan0
on the local subnet.

Let's say I am sending a ping to www.debian.org on address
128.31.0.51.  I would try to match against the first line with
172.27.61.1 (a host route).  No match.  Then try to match against
192.168.240.0/24, then 192.168.224.0/24, then 192.168.230.0/24.  No
matches.  Then match against default.  Yes, match, send the packet
to the interface indicated.

But on Linux 3.2.0 in Debian Wheezy 7 the Linux kernel has reversed
the order that it prints this output.  This is a simpler set of routes
but as you can see they are reversed in order from previously.

  $ route -n
  Kernel IP routing table
  Destination Gateway Genmask Flags Metric RefUse Iface
  0.0.0.0 192.168.240.1   0.0.0.0 UG0  00 eth0
  192.168.240.0   0.0.0.0 255.255.255.0   U 0  00 eth0

  $ ip route show
  default via 192.168.240.1 dev eth0 
  192.168.240.0/24 dev eth0  proto kernel  scope link  src 192.168.240.12 

If on this machine I were to ping www.debian.org on address
128.31.0.51 I first have to mentally start at the bottom of the list
and attempt a match against 192.168.240.0/24 first and then try to
match against the top entry second.  If you start matching at the top
you would wrongly send all packets to the default interface.  So on
newer Linux systems I say that the printed display is upside down and
we have to mentally match entries from bottom to top now.

Of course this is just the display for human understanding.  The
programmed code in the kernel does what it does at machine speed and
efficiency.  It isn't upside down there.  It is just the display.  In
the kernel it doesn't matter what order it is displayed to the user.

But for me as a user trying to understand the routing configuration I
find the new reversed ordering to be less nice than the former.  When
trying to explain and teach how networking and routing works to
newbies this just adds additional noise and confusion to the problem.
Also the former is how Unix and BSD and other systems have always
displayed it.  Linux is now different for no good reason.

Bob

P.S. I know I can pipe through tac to reverse the output.  But I
shouldn't have to do so.  And this doesn't work nicely for 'route'
which has headers.

  $ ip route show | tac
  192.168.230.0/24 dev br0  proto kernel  scope link  src 192.168.230.119 
  default via 192.168.230.1 dev br0 


signature.asc
Description: Digital signature


Re: any utility to change ip

2013-09-20 Thread Andrei POPESCU
On Mi, 17 iul 13, 18:43:22, Gary Dale wrote:
 
 ifconfig can be used to both query and change the ip addresses of
 network interfaces on your machine. Used with no arguments, it lists
 all known interfaces and gives a lot of information about them.
 
 It's still in use in Jessie so reports of its demise may be premature.

'ip a' (short for 'ip addr') shows almost the same information, is 
available to users without using the full path and is shorter to type ;)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: any utility to change ip

2013-09-20 Thread Jerry Stuckle

On 9/20/2013 4:21 AM, Andrei POPESCU wrote:

On Mi, 17 iul 13, 18:43:22, Gary Dale wrote:


ifconfig can be used to both query and change the ip addresses of
network interfaces on your machine. Used with no arguments, it lists
all known interfaces and gives a lot of information about them.

It's still in use in Jessie so reports of its demise may be premature.


'ip a' (short for 'ip addr') shows almost the same information, is
available to users without using the full path and is shorter to type ;)

Kind regards,
Andrei



Sure, it's ALMOST the same information.  But it doesn't show everything 
ifconfig does.


As for shorter to type - 8 characters vs. 4 characters?

Jerry


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/523c4a15.8090...@attglobal.net



Re: any utility to change ip

2013-09-20 Thread Curt
On 2013-09-20, Jerry Stuckle jstuc...@attglobal.net wrote:

 'ip a' (short for 'ip addr') shows almost the same information, is
 available to users without using the full path and is shorter to type ;)

 Sure, it's ALMOST the same information.  But it doesn't show everything 
 ifconfig does.

 As for shorter to type - 8 characters vs. 4 characters?


I count 8 vs. 3 characters.

ip a  

makes 3, doesn't it?

And then you're not including in the 8 count the extra characters a
regular Joe must type to specify the full path to the ifconfig
executable:

/sbin/

So let's see, that would be: 14 characters vs. 3 characters.

And I think you neglected to take his winky into account too.

;-)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnl3oop6.2kr.cu...@einstein.electron.org



Re: any utility to change ip

2013-09-20 Thread Jerry Stuckle

On 9/20/2013 11:00 AM, Curt wrote:

On 2013-09-20, Jerry Stuckle jstuc...@attglobal.net wrote:


'ip a' (short for 'ip addr') shows almost the same information, is
available to users without using the full path and is shorter to type ;)


Sure, it's ALMOST the same information.  But it doesn't show everything
ifconfig does.

As for shorter to type - 8 characters vs. 4 characters?



I count 8 vs. 3 characters.

ip a

makes 3, doesn't it?



You need the space, also.


And then you're not including in the 8 count the extra characters a
regular Joe must type to specify the full path to the ifconfig
executable:

/sbin/



A regular joe won't be able to change the ip address.


So let's see, that would be: 14 characters vs. 3 characters.

And I think you neglected to take his winky into account too.

;-)







--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/523c74ed.1010...@attglobal.net



Re: any utility to change ip

2013-09-20 Thread Bob Proulx
Jerry Stuckle wrote:
 Andrei POPESCU wrote:
  Gary Dale wrote:
   ifconfig can be used to both query and change the ip addresses of
   network interfaces on your machine. Used with no arguments, it lists
   all known interfaces and gives a lot of information about them.
  
   It's still in use in Jessie so reports of its demise may be premature.
 
  'ip a' (short for 'ip addr') shows almost the same information, is
  available to users without using the full path and is shorter to type ;)
 
 Sure, it's ALMOST the same information.  But it doesn't show
 everything ifconfig does.

Actually it is the other way around.  The older ifconfig doesn't show
everything the newer ip command shows.  Because newer functionality
and features have been added to the Linux kernel and ifconfig can't
show those things.  Such as ip addresses that are aliases but which do
not have a campatibility label.  Those are invisible to ifconfig but
will be displayed with ip.

Now of course you might say that you never use those so this is no
problem for you.  But ifupdown and other tools do and so in general
when looking at any random system there isn't a way to know if those
are going to be in use or not.  Therefore one must be at least aware
of 'ip' in order to be able to dump and debug such configurations.

 As for shorter to type - 8 characters vs. 4 characters?

  $ echo ifconfig | wc -c
  9

  $ echo ip a | wc -c
  5

Bob


signature.asc
Description: Digital signature


Re: any utility to change ip

2013-09-20 Thread Jerry Stuckle

On 9/20/2013 12:11 PM, Bob Proulx wrote:

Jerry Stuckle wrote:

Andrei POPESCU wrote:

Gary Dale wrote:

ifconfig can be used to both query and change the ip addresses of
network interfaces on your machine. Used with no arguments, it lists
all known interfaces and gives a lot of information about them.

It's still in use in Jessie so reports of its demise may be premature.


'ip a' (short for 'ip addr') shows almost the same information, is
available to users without using the full path and is shorter to type ;)


Sure, it's ALMOST the same information.  But it doesn't show
everything ifconfig does.


Actually it is the other way around.  The older ifconfig doesn't show
everything the newer ip command shows.  Because newer functionality
and features have been added to the Linux kernel and ifconfig can't
show those things.  Such as ip addresses that are aliases but which do
not have a campatibility label.  Those are invisible to ifconfig but
will be displayed with ip.

Now of course you might say that you never use those so this is no
problem for you.  But ifupdown and other tools do and so in general
when looking at any random system there isn't a way to know if those
are going to be in use or not.  Therefore one must be at least aware
of 'ip' in order to be able to dump and debug such configurations.



If you don't use those features (and most people don't), who cares about 
them?  Sure, ifupdown and other tools use them - IF YOU USE THEM.  But 
if not, it's immaterial.



As for shorter to type - 8 characters vs. 4 characters?


   $ echo ifconfig | wc -c
   9

   $ echo ip a | wc -c
   5

Bob



You're counting an extra space which is not required.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/523c75ae.8080...@attglobal.net



Re: any utility to change ip

2013-09-20 Thread Bob Proulx
Jerry Stuckle wrote:
 Bob Proulx wrote:
 Now of course you might say that you never use those so this is no
 problem for you.  But ifupdown and other tools do and so in general
 when looking at any random system there isn't a way to know if those
 are going to be in use or not.  Therefore one must be at least aware
 of 'ip' in order to be able to dump and debug such configurations.
 
 If you don't use those features (and most people don't), who cares
 about them?  Sure, ifupdown and other tools use them - IF YOU USE
 THEM.  But if not, it's immaterial.

Except that it isn't immaterial when it happens to be configured.  And
when people have things screwed up they don't know what they don't
know.  I have helped people who were following cutting and pasting of
various snippets found on the net and they swore they hadn't done
anything except they had configured exactly this problem.  And because
they were only using ifconfig they were blind to the problem.  And I
dare say that ifupdown is a very heavily used tool.

 As for shorter to type - 8 characters vs. 4 characters?
 
$ echo ifconfig | wc -c
9
 
$ echo ip a | wc -c
5
 
 You're counting an extra space which is not required.

What extra space?  The one between ip and a?  That isn't extra.
It is a required keystroke.  It does not work without it.

But even though I counted them out I don't think this is golf.  The
shortest number of keystrokes is not a very useful measure to the
touch typist.

Bob


signature.asc
Description: Digital signature


Re: any utility to change ip

2013-09-20 Thread Jerry Stuckle

On 9/20/2013 1:43 PM, Bob Proulx wrote:

Jerry Stuckle wrote:

Bob Proulx wrote:

Now of course you might say that you never use those so this is no
problem for you.  But ifupdown and other tools do and so in general
when looking at any random system there isn't a way to know if those
are going to be in use or not.  Therefore one must be at least aware
of 'ip' in order to be able to dump and debug such configurations.


If you don't use those features (and most people don't), who cares
about them?  Sure, ifupdown and other tools use them - IF YOU USE
THEM.  But if not, it's immaterial.


Except that it isn't immaterial when it happens to be configured.  And
when people have things screwed up they don't know what they don't
know.  I have helped people who were following cutting and pasting of
various snippets found on the net and they swore they hadn't done
anything except they had configured exactly this problem.  And because
they were only using ifconfig they were blind to the problem.  And I
dare say that ifupdown is a very heavily used tool.



Sure, if people blindly cut/paste snippets without knowing what they are 
doing, it's hard telling what they have screwed up.


And even though ifupdown is a very heavily used tool, if you're not 
using those features, it is immaterial.



As for shorter to type - 8 characters vs. 4 characters?


   $ echo ifconfig | wc -c
   9

   $ echo ip a | wc -c
   5


You're counting an extra space which is not required.


What extra space?  The one between ip and a?  That isn't extra.
It is a required keystroke.  It does not work without it.



Please show me how the characters string ip a comes out to 5 
characters.  I count 4.



But even though I counted them out I don't think this is golf.  The
shortest number of keystrokes is not a very useful measure to the
touch typist.

Bob



But not everyone is a touch typist, either.  There are a lot of poke 
and hope people out there.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/523c8bf9.5080...@attglobal.net



Re: any utility to change ip

2013-09-20 Thread Bob Proulx
Jerry Stuckle wrote:
 Bob Proulx wrote:
 Jerry Stuckle wrote:
 Bob Proulx wrote:
$ echo ip a | wc -c
5
 
 You're counting an extra space which is not required.
 
 What extra space?  The one between ip and a?  That isn't extra.
 It is a required keystroke.  It does not work without it.
 
 Please show me how the characters string ip a comes out to 5
 characters.  I count 4.

Did you forget the Enter key?

 1  i
 2  p
 3  SPACE
 4  a
 5  ENTER

Any number of keys less than that number doesn't produce a useful result.

 But even though I counted them out I don't think this is golf.  The
 shortest number of keystrokes is not a very useful measure to the
 touch typist.
 
 But not everyone is a touch typist, either.  There are a lot of
 poke and hope people out there.

Then you would like the route dump then too.

  ip r

Which is the short abbreviation for:

  ip route show

Which is the information previously available from:

  netstat -nr
  route -n

OT Rant: It annoys me that recent Linux kernels reverse the order of
the route lines.  Previously it would have been scanned from top to
bottom and the first line matching wins.  But now it is upside down
and must be scanned from bottom to top.  Grr...

Bob


signature.asc
Description: Digital signature


Re: any utility to change ip

2013-09-20 Thread Chris Bannister
On Fri, Sep 20, 2013 at 01:01:41PM -0600, Bob Proulx wrote:
 Did you forget the Enter key?
 
  1  i
  2  p
  3  SPACE
  4  a
  5  ENTER

root@tal:~# echo ip a|wc -m
5

Ahh! implicit ENTER

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130920202731.GA23342@tal



Re: any utility to change ip

2013-09-20 Thread Beco
On 20 September 2013 17:27, Chris Bannister cbannis...@slingshot.co.nz wrote:
 On Fri, Sep 20, 2013 at 01:01:41PM -0600, Bob Proulx wrote:
 Did you forget the Enter key?

  1  i
  2  p
  3  SPACE
  4  a
  5  ENTER

 root@tal:~# echo ip a|wc -m
 5

 Ahh! implicit ENTER

 --
 If you're not careful, the newspapers will have you hating the people
 who are being oppressed, and loving the people who are doing the
 oppressing. --- Malcolm X


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/20130920202731.GA23342@tal




-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2ws2oMMUv+6r-PiVex+KSot7TnRW8T2N8wF5P6M=kf...@mail.gmail.com



Re: any utility to change ip

2013-09-20 Thread Beco
Sorry about the blanck email.



-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2y5W=vbrb41v-rtyon7s6kh3iuprvlg-ke0_ew7gma...@mail.gmail.com



Re: any utility to change ip

2013-07-18 Thread Martin Kraus
On Wed, Jul 17, 2013 at 06:16:57PM -0400, doug wrote:
 it did not find any MAC adresses, nor did it produce the name of the
 printer
 at 120. Here's the output:
 
 [doug@Dell ~]$ sudo arpscan -p 192.168.1.0/24
 Password:
 00:15:C5:A8:8A:7A 192.168.1.103
 00:23:69:BC:D3:36 192.168.1.1
 50:E5:49:B3:A2:51 192.168.1.102
 00:0E:7F:E3:77:B7 192.168.1.101   Hewlett Packard
 00:26:AB:FA:BB:58 192.168.1.120

it doesn't produce names of anything, it just decodes the network card vendor
from the mac address. Device names need some kind of name resolution service 
such as dns or netbios names used by samba.

mk


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130718080859.GC13281@finrod



Re: any utility to change ip

2013-07-18 Thread Klaus

On 18/07/13 09:08, Martin Kraus wrote:

On Wed, Jul 17, 2013 at 06:16:57PM -0400, doug wrote:

it did not find any MAC adresses, nor did it produce the name of the
printer
at 120. Here's the output:

[doug@Dell ~]$ sudo arpscan -p 192.168.1.0/24
Password:
00:15:C5:A8:8A:7A 192.168.1.103
00:23:69:BC:D3:36 192.168.1.1
50:E5:49:B3:A2:51 192.168.1.102
00:0E:7F:E3:77:B7 192.168.1.101   Hewlett Packard
00:26:AB:FA:BB:58 192.168.1.120


it doesn't produce names of anything, it just decodes the network card vendor
from the mac address. Device names need some kind of name resolution service
such as dns or netbios names used by samba.

mk


And the translation from the leading triple in the mac address to the 
company_id can be checked here: 
http://standards.ieee.org/develop/regauth/oui/public.html, where it 
then turns out that Doug's printer at 192.168.1.120 is from Epsom?
Anybody know where arp-scan finds or stores this info? It's not quite up 
to date, for instance b8:27:eb:xx:xx:xx should translate to the 
Raspberry Pi Foundation, but it shows as (unknown). (This is on Debian 
sid, where incidentally the package as well as the command is called 
arp-scan with a hyphen).


--
Klaus


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51e7aaf2.50...@gmail.com



Re: any utility to change ip

2013-07-18 Thread Martin Kraus
On Thu, Jul 18, 2013 at 09:44:34AM +0100, Klaus wrote:
 And the translation from the leading triple in the mac address to
 the company_id can be checked here:
 http://standards.ieee.org/develop/regauth/oui/public.html, where
 it then turns out that Doug's printer at 192.168.1.120 is from
 Epsom?

The below was requested

What I'd really like to see is something like this:

192.168.1.100   HPLaserJet 2200dn
192.168.1.101   Epson WP4530
192.168.1.104   TV Blu-ray player

And that was not decoded from a mac address.

mk


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130718094020.GA11245@finrod



Re: any utility to change ip

2013-07-18 Thread Klaus

On 18/07/13 10:40, Martin Kraus wrote:

On Thu, Jul 18, 2013 at 09:44:34AM +0100, Klaus wrote:

And the translation from the leading triple in the mac address to
the company_id can be checked here:
http://standards.ieee.org/develop/regauth/oui/public.html, where
it then turns out that Doug's printer at 192.168.1.120 is from
Epsom?


The below was requested (...) And that was not decoded from a mac address.

mk


I think I didn't claim it was. All I tried was to link Darac's earlier post

On 17/07/13 11:15, Darac Marjal wrote:
 (...)
 You can then lookup the manufacturer of that network device (the
 xx:xx:xx portion) to give a clue as to what the device is.


with your (Martin's) post


On 18/07/13 09:08, Martin Kraus wrote:

(..)
it doesn't produce names of anything, it just decodes the network card vendor
from the mac address. Device names need some kind of name resolution service
such as dns or netbios names used by samba.

mk




--
Klaus


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51e7ce9e.5060...@gmail.com



Re: any utility to change ip

2013-07-18 Thread Doug

On 7/18/2013 4:44 AM, Klaus wrote:

On 18/07/13 09:08, Martin Kraus wrote:

On Wed, Jul 17, 2013 at 06:16:57PM -0400, doug wrote:

it did not find any MAC adresses, nor did it produce the name of the
printer
at 120. Here's the output:

[doug@Dell ~]$ sudo arpscan -p 192.168.1.0/24
Password:
00:15:C5:A8:8A:7A 192.168.1.103
00:23:69:BC:D3:36 192.168.1.1
50:E5:49:B3:A2:51 192.168.1.102
00:0E:7F:E3:77:B7 192.168.1.101   Hewlett Packard
00:26:AB:FA:BB:58 192.168.1.120


it doesn't produce names of anything, it just decodes the network 
card vendor
from the mac address. Device names need some kind of name resolution 
service

such as dns or netbios names used by samba.

mk


And the translation from the leading triple in the mac address to the 
company_id can be checked here: 
http://standards.ieee.org/develop/regauth/oui/public.html, where it 
then turns out that Doug's printer at 192.168.1.120 is from Epsom?
Anybody know where arp-scan finds or stores this info? It's not quite 
up to date, for instance b8:27:eb:xx:xx:xx should translate to the 
Raspberry Pi Foundation, but it shows as (unknown). (This is on 
Debian sid, where incidentally the package as well as the command is 
called arp-scan with a hyphen).


Thank you! You're right, the printer at 120 is an Epson WP-4530. 
Obviously I knew that, but I was wondering how the command
was supposed to work.  Also, this allows finding, in a roundabout 
manner, what device is connected to what ip.  (In this case, I have

assigned a static ip to the Epson.)

--doug


Re: any utility to change ip

2013-07-17 Thread Martin Kraus
On Wed, Jul 17, 2013 at 01:31:46AM -0400, Doug wrote:
 192.168.1.100 HPLaserJet 2200dn
 192.168.1.101   Epson WP4530
 192.168.1.104 TV Blu-ray player

findsmb

needs smbclient and samba-common-bin packages. uses nmblookup from
samba-common-bin package so maybe that would be enough if you read the manpage
for it.

mk


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130717064040.GB13281@finrod



Re: any utility to change ip

2013-07-17 Thread Klaus

On 17/07/13 06:31, Doug wrote:

On 07/17/2013 12:53 AM, Mihamina Rakotomandimby wrote:

On 2013-07-17 07:48, David Guntner wrote:

Doug grabbed a keyboard and wrote:

On 07/17/2013 12:26 AM, Muhammad Yousuf Khan wrote:

is there any utility to change IP via command line, actually i am
looking for a utility same as the one which we using during installation
of debian. it actually find and display all the brand names of Ethernet
controllers and Ethernet port assignments. can i call the same utility
via normal console or is there any different one which i can use on debian.

Thanks,

Anybody know?

man ifconfig


it's now iproute2: ip addr xxx vvv

--
RMA.


  I didn't find iproute2, but doing man ifconfig brings up a message
that this is obsolete, and to see ip addr and ip link.

Looking at the man pages for either of these shows each to be 1000 lines
or more, and, while I tried a batch of suggested commands, I
obviously don't understand what's going on. In no case did I get
anything useful.

What I'd really like to see is something like this:

192.168.1.100   HPLaserJet 2200dn
192.168.1.101   Epson WP4530
192.168.1.104   TV Blu-ray player

(Obviously, these are not necessarily what the ips really are--that's
what I'd like to find out!)

Looking at pages in PCLOS.

--doug




Doug, have you tried nmap? Can't remember whether it's part of the base 
install, so you might have to install the package nmap first. Then use 
something like 'nmap -sn 192.168.1.0/24' to get a list of hosts on the 
subnet replying to ping requests (this won't work for hosts that deny 
ping requests).




--
Klaus


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51e651fd.5060...@gmail.com



Re: any utility to change ip

2013-07-17 Thread Darac Marjal
On Wed, Jul 17, 2013 at 01:31:46AM -0400, Doug wrote:
 On 07/17/2013 12:53 AM, Mihamina Rakotomandimby wrote:
  On 2013-07-17 07:48, David Guntner wrote:
  Doug grabbed a keyboard and wrote:
  On 07/17/2013 12:26 AM, Muhammad Yousuf Khan wrote:
  is there any utility to change IP via command line, actually i am
  looking for a utility same as the one which we using during installation
  of debian. it actually find and display all the brand names of Ethernet
  controllers and Ethernet port assignments. can i call the same utility
  via normal console or is there any different one which i can use on 
  debian.
 
  Thanks,
  Anybody know?
  man ifconfig
  
  it's now iproute2: ip addr xxx vvv
  
  -- 
  RMA.
  
  I didn't find iproute2, but doing man ifconfig brings up a message
 that this is obsolete, and to see ip addr and ip link.
 
 Looking at the man pages for either of these shows each to be 1000 lines
 or more, and, while I tried a batch of suggested commands, I
 obviously don't understand what's going on. In no case did I get
 anything useful.
 
 What I'd really like to see is something like this:
 
 192.168.1.100 HPLaserJet 2200dn
 192.168.1.101   Epson WP4530
 192.168.1.104 TV Blu-ray player

Try ip neigh. Theis will show your neighbours on the network.
That is, hosts for whom you have ARP or NDISC cache entries. You'll
get an entry like:

  192.168.2.36 dev eth0.1 lladdr xx:xx:xx:30:65:6c REACHABLE

You can then lookup the manufacturer of that network device (the
xx:xx:xx portion) to give a clue as to what the device is.



signature.asc
Description: Digital signature


Re: any utility to change ip

2013-07-17 Thread Muhammad Yousuf Khan
by the way it is my thread  :) any ways. the easiest way to achieve
your goal is  arp-scan

install arp-scan

i dont know if it support other destros or not

you can do arp-scan 192.168.1.0/24 all devices/Computers with MAC
addresses will be listed.



On Wed, Jul 17, 2013 at 9:42 AM, Doug dmcgarr...@optonline.net wrote:

 On 07/17/2013 12:26 AM, Muhammad Yousuf Khan wrote:
  is there any utility to change IP via command line, actually i am
  looking for a utility same as the one which we using during installation
  of debian. it actually find and display all the brand names of Ethernet
  controllers and Ethernet port assignments. can i call the same utility
  via normal console or is there any different one which i can use on
 debian.
 
  Thanks,

 One would think there is some simple way to find what device is using
 what ip. but I haven't ever seen it. Since the system installs printers
 and other network hardware, it surely must know what the ips for these
 devices are. (It would have to work on any Linux system, not just
 Debian, since that is not my normal system.)

 Anybody know?

 --doug

 --
 Blessed are the peacemakers..for they shall be shot at from both sides.
 --A.M.Greeley


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/51e620ae.7060...@optonline.net




Re: any utility to change ip

2013-07-17 Thread Kim Christensen
On Thu, Jul 18, 2013 at 12:24:54AM +0500, Muhammad Yousuf Khan wrote:
 by the way it is my thread  :) any ways. the easiest way to achieve
 your goal is  arp-scan
 
 install arp-scan
 
 i dont know if it support other destros or not

Or arp from package net-tools (only depends on libc6, no libpcap)

-- kchr

|_|O|_|  
|_|_|O|  Kim Christensen 
|O|O|O|  http://technopragmatics.org
-
() ascii ribbon campain - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments


signature.asc
Description: Digital signature


Re: any utility to change ip

2013-07-17 Thread doug

On 07/17/2013 03:24 PM, Muhammad Yousuf Khan wrote:
by the way it is my thread  :) any ways. the easiest way to 
achieve your goal is  arp-scan


install arp-scan

i dont know if it support other destros or not

you can do arp-scan 192.168.1.0/24 http://192.168.1.0/24 all 
devices/Computers with MAC addresses will be listed.



/snip/





One would think there is some simple way to find what device is using
what ip. but I haven't ever seen it. Since the system installs
printers
and other network hardware, it surely must know what the ips for these
devices are. (It would have to work on any Linux system, not just
Debian, since that is not my normal system.)

Anybody know?

--doug

-

Well, this is closer than anything else yet. It's arpscan, without the 
hyphen, and
it did not find any MAC adresses, nor did it produce the name of the 
printer

at 120. Here's the output:

[doug@Dell ~]$ sudo arpscan -p 192.168.1.0/24
Password:
00:15:C5:A8:8A:7A 192.168.1.103
00:23:69:BC:D3:36 192.168.1.1
50:E5:49:B3:A2:51 192.168.1.102
00:0E:7F:E3:77:B7 192.168.1.101   Hewlett Packard
00:26:AB:FA:BB:58 192.168.1.120

So that's some help. Thank you!

--doug




-
Blessed are the peacemakers..for they shall be shot at from both
sides.
--A.M.Greeley


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
mailto:debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org mailto:listmas...@lists.debian.org
Archive: http://lists.debian.org/51e620ae.7060...@optonline.net





--
Blessed are the peacemakers...for they shall be shot at from both sides. --A. 
M. Greeley


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51e717d9.7030...@optonline.net



Re: any utility to change ip

2013-07-17 Thread Gary Dale

On 17/07/13 12:26 AM, Muhammad Yousuf Khan wrote:

is there any utility to change IP via command line, actually i am
looking for a utility same as the one which we using during installation
of debian. it actually find and display all the brand names of Ethernet
controllers and Ethernet port assignments. can i call the same utility
via normal console or is there any different one which i can use on debian.

Thanks,


I'm not sure if the thread has actually answered your question or not.

ifconfig can be used to both query and change the ip addresses of 
network interfaces on your machine. Used with no arguments, it lists all 
known interfaces and gives a lot of information about them.


It's still in use in Jessie so reports of its demise may be premature.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51e71e0a.5010...@rogers.com



Re: any utility to change ip

2013-07-17 Thread Brian
On Wed 17 Jul 2013 at 09:26:53 +0500, Muhammad Yousuf Khan wrote:

 is there any utility to change IP via command line, actually i am looking
 for a utility same as the one which we using during installation of debian.
 it actually find and display all the brand names of Ethernet controllers
 and Ethernet port assignments. can i call the same utility via normal
 console or is there any different one which i can use on debian.

You could roll out your own. Something along the lines of this:

   V=$(cat /sys/class/net/eth0/device/vendor)
   D=$(cat /sys/class/net/eth0/device/device)
   C=$(lspci -d $V:$D
   echo $C

You'll likely need to knock this idea into better shape and throw in a
few seds, greps and cuts to get exactly what you want.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130717224239.gk25...@copernicus.demon.co.uk



Re: any utility to change ip

2013-07-17 Thread Kruppt
On 2013-07-17, Doug dmcgarr...@optonline.net wrote:

 One would think there is some simple way to find what device is using
 what ip. but I haven't ever seen it. Since the system installs printers
 and other network hardware, it surely must know what the ips for these
 devices are. (It would have to work on any Linux system, not just
 Debian, since that is not my normal system.)

 Anybody know?

 --doug


arp-scan -l -g --interface=wlan0

arp-scan -l -g --interface=eth0

arp-scan -l -g --interface=eth1

etc.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130717181133.516@0.0.0



Re: any utility to change ip

2013-07-17 Thread Doug

On 7/17/2013 6:21 PM, Kruppt wrote:

On 2013-07-17, Dougdmcgarr...@optonline.net  wrote:


One would think there is some simple way to find what device is using
what ip. but I haven't ever seen it. Since the system installs printers
and other network hardware, it surely must know what the ips for these
devices are. (It would have to work on any Linux system, not just
Debian, since that is not my normal system.)

Anybody know?

--doug


arp-scan -l -g --interface=wlan0

arp-scan -l -g --interface=eth0

arp-scan -l -g --interface=eth1

etc.



Doesn't work on PCLOS. See my other report.
Thanx anyway--doug


any utility to change ip

2013-07-16 Thread Muhammad Yousuf Khan
is there any utility to change IP via command line, actually i am looking
for a utility same as the one which we using during installation of debian.
it actually find and display all the brand names of Ethernet controllers
and Ethernet port assignments. can i call the same utility via normal
console or is there any different one which i can use on debian.

Thanks,


Re: any utility to change ip

2013-07-16 Thread Doug
On 07/17/2013 12:26 AM, Muhammad Yousuf Khan wrote:
 is there any utility to change IP via command line, actually i am
 looking for a utility same as the one which we using during installation
 of debian. it actually find and display all the brand names of Ethernet
 controllers and Ethernet port assignments. can i call the same utility
 via normal console or is there any different one which i can use on debian.
 
 Thanks,

One would think there is some simple way to find what device is using
what ip. but I haven't ever seen it. Since the system installs printers
and other network hardware, it surely must know what the ips for these
devices are. (It would have to work on any Linux system, not just
Debian, since that is not my normal system.)

Anybody know?

--doug

-- 
Blessed are the peacemakers..for they shall be shot at from both sides.
--A.M.Greeley


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51e620ae.7060...@optonline.net



Re: any utility to change ip

2013-07-16 Thread David Guntner
Doug grabbed a keyboard and wrote:
 On 07/17/2013 12:26 AM, Muhammad Yousuf Khan wrote:
 is there any utility to change IP via command line, actually i am
 looking for a utility same as the one which we using during installation
 of debian. it actually find and display all the brand names of Ethernet
 controllers and Ethernet port assignments. can i call the same utility
 via normal console or is there any different one which i can use on debian.

 Thanks,
 
 One would think there is some simple way to find what device is using
 what ip. but I haven't ever seen it. Since the system installs printers
 and other network hardware, it surely must know what the ips for these
 devices are. (It would have to work on any Linux system, not just
 Debian, since that is not my normal system.)
 
 Anybody know?

man ifconfig






smime.p7s
Description: S/MIME Cryptographic Signature


Re: any utility to change ip

2013-07-16 Thread Mihamina Rakotomandimby

On 2013-07-17 07:48, David Guntner wrote:

Doug grabbed a keyboard and wrote:

On 07/17/2013 12:26 AM, Muhammad Yousuf Khan wrote:

is there any utility to change IP via command line, actually i am
looking for a utility same as the one which we using during installation
of debian. it actually find and display all the brand names of Ethernet
controllers and Ethernet port assignments. can i call the same utility
via normal console or is there any different one which i can use on debian.

Thanks,

Anybody know?

man ifconfig


it's now iproute2: ip addr xxx vvv

--
RMA.



Re: any utility to change ip

2013-07-16 Thread Doug
On 07/17/2013 12:53 AM, Mihamina Rakotomandimby wrote:
 On 2013-07-17 07:48, David Guntner wrote:
 Doug grabbed a keyboard and wrote:
 On 07/17/2013 12:26 AM, Muhammad Yousuf Khan wrote:
 is there any utility to change IP via command line, actually i am
 looking for a utility same as the one which we using during installation
 of debian. it actually find and display all the brand names of Ethernet
 controllers and Ethernet port assignments. can i call the same utility
 via normal console or is there any different one which i can use on debian.

 Thanks,
 Anybody know?
 man ifconfig
 
 it's now iproute2: ip addr xxx vvv
 
 -- 
 RMA.
 
 I didn't find iproute2, but doing man ifconfig brings up a message
that this is obsolete, and to see ip addr and ip link.

Looking at the man pages for either of these shows each to be 1000 lines
or more, and, while I tried a batch of suggested commands, I
obviously don't understand what's going on. In no case did I get
anything useful.

What I'd really like to see is something like this:

192.168.1.100   HPLaserJet 2200dn
192.168.1.101   Epson WP4530
192.168.1.104   TV Blu-ray player

(Obviously, these are not necessarily what the ips really are--that's
what I'd like to find out!)

Looking at pages in PCLOS.

--doug

-- 
Blessed are the peacemakers..for they shall be shot at from both sides.
--A.M.Greeley


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51e62c42.3060...@optonline.net



Re: /etc/init.d/networking restart does not change IP address. I have to reboot. Help.

2009-04-04 Thread Sven Joachim
On 2009-04-04 13:28 +0200, Foss User wrote:

 Trying to change the IP address in /etc/network/interfaces and then
 /etc/init.d/networking restart does not really change my IP. I am
 having to do a reboot to really change the IP. Could someone please
 help me in understanding why restarting networking doesn't do it?

 OUTPUT BEFORE CHANGING IP ADDRESS:

 lenny-template:~# ifconfig
 eth0  Link encap:Ethernet  HWaddr 00:0c:29:e9:63:c4
   inet addr:10.31.253.153  Bcast:10.31.253.255  Mask:255.255.255.0
   inet6 addr: fe80::20c:29ff:fee9:63c4/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:255 errors:0 dropped:0 overruns:0 frame:0
   TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:22731 (22.1 KiB)  TX bytes:6835 (6.6 KiB)
   Interrupt:18 Base address:0x2080

 loLink 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:8 errors:0 dropped:0 overruns:0 frame:0
   TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)

 lenny-template:~# cat /etc/network/interfaces
 # The loopback network interface
 auto lo
 iface lo inet loopback

 # The primary network interface
 allow-hotplug eth0
  ^
This is your problem, you probably want to change that to auto.

 iface eth0 inet static
 address 10.31.253.153
 netmask 255.255.255.0
 network 10.31.253.0
 broadcast 10.31.253.255
 gateway 10.31.253.1
 # dns-* options are implemented by the resolvconf package, if 
 installed
 dns-nameservers 10.100.8.203

 Then I edit only the 'address' line of 'iface eth0 inet static' to:

 address 10.31.253.154

 and issue the command: /etc/init.d/networking restart.

 After that when I run ipconfig command, I see only iface lo in the
 output. If I run ipconfig -a command, then I see iface eth0 too but
 its ip address is still the old one: 10.31.253.153

The reason is that /etc/init.d/networking restart boils down to
ifdown -a --exclude=lo; ifup -a --exclude=lo and ifup -a only brings
up interfaces that are marked auto in /etc/network/interfaces.

Running ifup eth0 will bring the interface up again and change your IP
address.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: /etc/init.d/networking restart does not change IP address. I have to reboot. Help.

2009-04-04 Thread Foss User
On Sat, Apr 4, 2009 at 5:21 PM, Sven Joachim svenj...@gmx.de wrote:
 On 2009-04-04 13:28 +0200, Foss User wrote:

 Trying to change the IP address in /etc/network/interfaces and then
 /etc/init.d/networking restart does not really change my IP. I am
 having to do a reboot to really change the IP. Could someone please
 help me in understanding why restarting networking doesn't do it?

 OUTPUT BEFORE CHANGING IP ADDRESS:

 lenny-template:~# ifconfig
 eth0      Link encap:Ethernet  HWaddr 00:0c:29:e9:63:c4
           inet addr:10.31.253.153  Bcast:10.31.253.255  Mask:255.255.255.0
           inet6 addr: fe80::20c:29ff:fee9:63c4/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:255 errors:0 dropped:0 overruns:0 frame:0
           TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:22731 (22.1 KiB)  TX bytes:6835 (6.6 KiB)
           Interrupt:18 Base address:0x2080

 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:8 errors:0 dropped:0 overruns:0 frame:0
           TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)

 lenny-template:~# cat /etc/network/interfaces
 # The loopback network interface
 auto lo
 iface lo inet loopback

 # The primary network interface
 allow-hotplug eth0
  ^
 This is your problem, you probably want to change that to auto.

 iface eth0 inet static
         address 10.31.253.153
         netmask 255.255.255.0
         network 10.31.253.0
         broadcast 10.31.253.255
         gateway 10.31.253.1
         # dns-* options are implemented by the resolvconf package, if 
 installed
         dns-nameservers 10.100.8.203

 Then I edit only the 'address' line of 'iface eth0 inet static' to:

 address 10.31.253.154

 and issue the command: /etc/init.d/networking restart.

 After that when I run ipconfig command, I see only iface lo in the
 output. If I run ipconfig -a command, then I see iface eth0 too but
 its ip address is still the old one: 10.31.253.153

 The reason is that /etc/init.d/networking restart boils down to
 ifdown -a --exclude=lo; ifup -a --exclude=lo and ifup -a only brings
 up interfaces that are marked auto in /etc/network/interfaces.

 Running ifup eth0 will bring the interface up again and change your IP
 address.

 Sven


So, should I add the following line:

auto eth0

before this line:

allow-hotplug eth0

?

What is the use of allow-hotplug eth0? Can I remove the allow-hotplug line?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



/etc/init.d/networking restart does not change IP address. I have to reboot. Help.

2009-04-04 Thread Foss User
Trying to change the IP address in /etc/network/interfaces and then
/etc/init.d/networking restart does not really change my IP. I am
having to do a reboot to really change the IP. Could someone please
help me in understanding why restarting networking doesn't do it?

OUTPUT BEFORE CHANGING IP ADDRESS:

lenny-template:~# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:0c:29:e9:63:c4
  inet addr:10.31.253.153  Bcast:10.31.253.255  Mask:255.255.255.0
  inet6 addr: fe80::20c:29ff:fee9:63c4/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:255 errors:0 dropped:0 overruns:0 frame:0
  TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:22731 (22.1 KiB)  TX bytes:6835 (6.6 KiB)
  Interrupt:18 Base address:0x2080

loLink 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:8 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)

lenny-template:~# cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.31.253.153
netmask 255.255.255.0
network 10.31.253.0
broadcast 10.31.253.255
gateway 10.31.253.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 10.100.8.203

Then I edit only the 'address' line of 'iface eth0 inet static' to:

address 10.31.253.154

and issue the command: /etc/init.d/networking restart.

After that when I run ipconfig command, I see only iface lo in the
output. If I run ipconfig -a command, then I see iface eth0 too but
its ip address is still the old one: 10.31.253.153

Please help.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: /etc/init.d/networking restart does not change IP address. I have to reboot. Help.

2009-04-04 Thread Ron Johnson

On 2009-04-04 07:21, Foss User wrote:

On Sat, Apr 4, 2009 at 5:21 PM, Sven Joachim svenj...@gmx.de wrote:

On 2009-04-04 13:28 +0200, Foss User wrote:

[snip]


# The primary network interface
allow-hotplug eth0

 ^
This is your problem, you probably want to change that to auto.


iface eth0 inet static
address 10.31.253.153
netmask 255.255.255.0
network 10.31.253.0
broadcast 10.31.253.255
gateway 10.31.253.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 10.100.8.203

Then I edit only the 'address' line of 'iface eth0 inet static' to:

address 10.31.253.154


[snip]


So, should I add the following line:

auto eth0

before this line:

allow-hotplug eth0



I think he said that you need to *change*, not *add*.



What is the use of allow-hotplug eth0? Can I remove the allow-hotplug line?





--
Scooty Puff, Sr
The Doom-Bringer


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: /etc/init.d/networking restart does not change IP address. I have to reboot. Help.

2009-04-04 Thread Sven Joachim
On 2009-04-04 14:45 +0200, Ron Johnson wrote:

 On 2009-04-04 07:21, Foss User wrote:
 So, should I add the following line:

 auto eth0

 before this line:

 allow-hotplug eth0


 I think he said that you need to *change*, not *add*.

This is what I meant, yes.  AFAIK auto and allow-hotplug are mutually
exclusive, but interfaces(5) is a bit unclear in that point.

 What is the use of allow-hotplug eth0? Can I remove the allow-hotplug line?

There are at least two use cases: 

- A network device might not always be present (such as a USB WLAN
  adapter), and you want to bring up the interface automatically
  whenever you plug in the device.

- You use DHCP to get an IP.  IIRC, dhclient will run in the foreground
  and thus slow down the boot process if the interface is auto; but it
  nicely runs in the background if the interface is allow-hotplug.

Since Foss User has a static IP and probably not a removable network
card, neither of these reasons apply.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: /etc/init.d/networking restart does not change IP address. I have to reboot. Help.

2009-04-04 Thread Ron Johnson

On 2009-04-04 08:16, Sven Joachim wrote:
[snip]

- A network device might not always be present (such as a USB WLAN
  adapter), and you want to bring up the interface automatically


Or CardBus/PCMCIA.

--
Scooty Puff, Sr
The Doom-Bringer


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: /etc/init.d/networking restart does not change IP address. I have to reboot. Help.

2009-04-04 Thread Thorny
On Sat, 04 Apr 2009 16:58:50 +0530, Foss User posted:

 Trying to change the IP address in /etc/network/interfaces and then
 /etc/init.d/networking restart does not really change my IP. I am having
 to do a reboot to really change the IP. Could someone please help me in
 understanding why restarting networking doesn't do it?
 
 OUTPUT BEFORE CHANGING IP ADDRESS:
 
 lenny-template:~# ifconfig
 eth0  Link encap:Ethernet  HWaddr 00:0c:29:e9:63:c4
   inet addr:10.31.253.153  Bcast:10.31.253.255  Mask:255.255.255.0
   inet6 addr: fe80::20c:29ff:fee9:63c4/64 Scope:Link UP BROADCAST
   RUNNING MULTICAST  MTU:1500  Metric:1 RX packets:255 errors:0
   dropped:0 overruns:0 frame:0 TX packets:48 errors:0 dropped:0
   overruns:0 carrier:0 collisions:0 txqueuelen:1000
   RX bytes:22731 (22.1 KiB)  TX bytes:6835 (6.6 KiB) Interrupt:18
   Base address:0x2080
 
 loLink 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:8 errors:0
   dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0
   overruns:0 carrier:0 collisions:0 txqueuelen:0
   RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)
 
 lenny-template:~# cat /etc/network/interfaces # The loopback network
 interface
 auto lo
 iface lo inet loopback
 
 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet static
 address 10.31.253.153
 netmask 255.255.255.0
 network 10.31.253.0
 broadcast 10.31.253.255
 gateway 10.31.253.1
 # dns-* options are implemented by the resolvconf package, if
 installed dns-nameservers 10.100.8.203
 
 Then I edit only the 'address' line of 'iface eth0 inet static' to:
 
 address 10.31.253.154
 
 and issue the command: /etc/init.d/networking restart.
 
 After that when I run ipconfig command, I see only iface lo in the output.
 If I run ipconfig -a command, then I see iface eth0 too but its ip address
 is still the old one: 10.31.253.153
 
 Please help.

Do you have network-manager installed? If it is trying to control your
network interfaces for you, it will ignore that stanza with the static
address in your interfaces file (and presumeably, try to use the old
address it knows). 

You could uninstall network-manager and regain the old behaviour, your
edits to the interfaces file would work as expected. Network Manager is
mostly meant to be used in the roaming situation.

You could leave network-manager working and modify the interfaces file to
just
auto eth0
iface eth0 inet dhcp
and let your router hand out a static address to the interface by MAC
address (router documentation will discuss this).




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: proper way to change ip and hostname

2005-07-27 Thread Dave Ewart
On Tuesday, 26.07.2005 at 20:47 -0500, Matthew Lenz wrote:

 I think everyone should probably look at Dave Ewart's response.  I
 tend to agree with him now that I've seen it in action.
 
 dpkg-reconfigure etherconf
 
 the only difference from etherconf and the sarge installer is that the
 sarge installer puts some guesses into the fields for you first.  The
 only other difference I could see is that etherconf puts the FQDN in
 /etc/hostname rather than just the host name.

:-)

It is a very good, reliable tool for setting up your network config.  It
ensures that you don't miss out anything that ought to be changed.

It's one of those tools where you find yourself saying I can't believe
I didn't know *that* tool existed before ...

Cheers,

Dave.
-- 
Please don't CC me on list messages!
...
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED]
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92



signature.asc
Description: Digital signature


Re: proper way to change ip and hostname

2005-07-27 Thread Thomas Hood
Brian Kimball wrote:
 Others have already led you in the right direction.  To summarize:
 
 1) change IP address: edit interface information in
/etc/network/interfaces
 2) change hostname: edit /etc/hostname and /etc/hosts
 3) update nameserver information in /etc/resolv.conf  or
/etc/network/interfaces if you use the resolvconf package.


Good


 But that only handles the bare minimum.  You will also need to 
 reconfigure any software that has your old hostname, IP address, 
 netmask, network address, etc., hardcoded in its config files.
 In this case grepping everything in /etc is the only sure-fire
 way to remember what needs to be changed and what doesn't.


But in many cases the software should have been configured to
use localhost anyway, and this name -- the canonical hostname
corresponding to IP address 127.0.0.1, never changes.


Matthew Lenz wrote:
 The only other difference I could see is that etherconf puts
 the FQDN in /etc/hostname rather than just the host name.


Arrgh.  I'll file a bug report about that.  It is possible to
have a FQDN as one's system hostname, but this is not Debian
tradition and Debian configuration tools should be consistent.

-- 
Thomas Hood


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: proper way to change ip and hostname

2005-07-27 Thread Thomas Hood
I have just looked at the bug reports open against etherconf and the
package looks undermaintained.  I would not recommend using it.

-- 
Thomas Hood


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: proper way to change ip and hostname

2005-07-27 Thread Bob Proulx
Thomas Hood wrote:
 Matthew Lenz wrote:
  The only other difference I could see is that etherconf puts
  the FQDN in /etc/hostname rather than just the host name.
 
 Arrgh.  I'll file a bug report about that.  It is possible to
 have a FQDN as one's system hostname, but this is not Debian
 tradition and Debian configuration tools should be consistent.

Be that as it may, but I always use the FQDN in the hostname.  It is
the traditional BSD way and also just seems the right way of doing
things.  So etherconf should allow both policies.

Bob


signature.asc
Description: Digital signature


Re: proper way to change ip and hostname

2005-07-27 Thread Brian Kimball
Thomas Hood wrote:
 Brian Kimball wrote:

  But that only handles the bare minimum.  You will also need to
  reconfigure any software that has your old hostname, IP address,
  netmask, network address, etc., hardcoded in its config files.
  In this case grepping everything in /etc is the only sure-fire
  way to remember what needs to be changed and what doesn't.

 But in many cases the software should have been configured to
 use localhost anyway, and this name -- the canonical hostname
 corresponding to IP address 127.0.0.1, never changes.

Good point.  I was thinking from the point of view of having multiple 
linux machines on a network.  I guess not everyone's that lucky. ;-)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: proper way to change ip and hostname

2005-07-26 Thread Paul Scott

Matthew Lenz wrote:

rather than grep xarging /etc for occurances of the ip and hostname is 
there a proper debian way of changing them?


Editing /etc/hosts ?

Paul Scott


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: proper way to change ip and hostname

2005-07-26 Thread Dave Ewart
On Monday, 25.07.2005 at 23:19 -0700, Paul Scott wrote:

 Matthew Lenz wrote:
 
 rather than grep xarging /etc for occurances of the ip and hostname
 is there a proper debian way of changing them?
 
 Editing /etc/hosts ?

That won't change the machine's IP.

The Correct Way to change a machine IP configuration and hostname is by
doing:

dpkg-reconfigure etherconf

(or apt-get install etherconf, if it's not installed)

This will ask you various questions about your setup and IP config, and
write results to all the pertinent files under /etc, such as /etc/hosts,
/etc/network/interfaces etc.

Cheers,

Dave.
-- 
Please don't CC me on list messages!
...
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED]
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92



signature.asc
Description: Digital signature


Re: proper way to change ip and hostname

2005-07-26 Thread Haines Brown
 Matthew Lenz wrote:
 
  rather than grep xarging /etc for occurances of the ip and
  hostname is there a proper debian way of changing them?
 
 Editing /etc/hosts ?

I went through this experience a short while ago. All kinds of
recommendations about greping /etc, even that reinstalling linux is
the only safe way to change the hostname. But, in contast, there was
also the suggestion that all that is needed is to change /etc/hosts
and reboot. It makes one feel very insecure when there's such
conflicting advice out there.

I bit the bullet, changed /etc/hostname, and rebooted; nothing
else. As far as I can make out after a month, this procedure worked
beautifully. I can think of ways it could lead to a problem or two,
but I don't think that denies the basic soundness of the approach.

Haines Brown


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: proper way to change ip and hostname

2005-07-26 Thread Anthony Campbell
On 26 Jul 2005, Haines Brown wrote:
  Matthew Lenz wrote:
  
   rather than grep xarging /etc for occurances of the ip and
   hostname is there a proper debian way of changing them?
  
  Editing /etc/hosts ?
 
 I went through this experience a short while ago. All kinds of
 recommendations about greping /etc, even that reinstalling linux is
 the only safe way to change the hostname. But, in contast, there was
 also the suggestion that all that is needed is to change /etc/hosts
 and reboot. It makes one feel very insecure when there's such
 conflicting advice out there.
 
 I bit the bullet, changed /etc/hostname, and rebooted; nothing
 else. As far as I can make out after a month, this procedure worked
 beautifully. I can think of ways it could lead to a problem or two,
 but I don't think that denies the basic soundness of the approach.
 
 Haines Brown
 

I've done just the same in the past without any problems. In fact, I'm
not even sure I had to reboot, but certainly the only things I needed
to change were /etc/hosts and /etc/hostname.

Anthony

-- 
[EMAIL PROTECTED]||  http://www.acampbell.org.uk for
using Linux GNU/Debian ||  blog, book reviews, electronic  
Microsoft-free zone||  books and skeptical articles


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: proper way to change ip and hostname

2005-07-26 Thread Mike Applebaum
Anthony Campbell wrote:
 On 26 Jul 2005, Haines Brown wrote:
 


Editing /etc/hosts ?


I bit the bullet, changed /etc/hostname, and rebooted; nothing
else. As far as I can make out after a month, this procedure worked
beautifully. I can think of ways it could lead to a problem or two,
but I don't think that denies the basic soundness of the approach.


Editing /etc/hostname will change the hostname but not the IP address.
The ip address of an interface is setup in /etc/network/interfaces (at
least for static ip addresses).  For dynamic address you would need to
modify the DHCP server to return a different ip for your MAC.  You also
may have to change any internal DNS servers to reflect the new name/ip
changes.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: proper way to change ip and hostname

2005-07-26 Thread Brian Kimball
Matthew Lenz wrote:
 rather than grep xarging /etc for occurances of the ip and hostname
 is there a proper debian way of changing them?

Others have already led you in the right direction.  To summarize:

1) change IP address: edit interface information 
in /etc/network/interfaces

2) change hostname: edit /etc/hostname and /etc/hosts

3) update nameserver information in /etc/resolv.conf 
or /etc/network/interfaces if you use the resolvconf package.

But that only handles the bare minimum.  You will also need to 
reconfigure any software that has your old hostname, IP address, 
netmask, network address, etc., hardcoded in its config files.  In this 
case grepping everything in /etc is the only sure-fire way to remember 
what needs to be changed and what doesn't.

Note the above: you need to grep for more than just your IP address and 
hostname.  For example, I run the cups printing service and have the 
statement Allow From 64.172.171.64/29 in cupsd.conf which allows 
network printing from all my other IP addresses.  Grepping for any one 
of my IP addresses (.65, .66, .67, .68, .69) would not have reminded me 
that I need to change that statement to my new settings.

So, in short, grepping /etc _is_ the proper way.  It feels brute force 
but it isn't really.  In fact, it helps you learn your system.  Someone 
else mentioned that when they were in a similar sitation they were told 
to reinstall.  BLECH!!  That's gross.  _That_ would be improper.
 
hth,

  brian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: proper way to change ip and hostname

2005-07-26 Thread Matthew Lenz
I think everyone should probably look at Dave Ewart's response.  I tend to 
agree with him now that I've seen it in action.


dpkg-reconfigure etherconf

the only difference from etherconf and the sarge installer is that the sarge 
installer puts some guesses into the fields for you first.  The only other 
difference I could see is that etherconf puts the FQDN in /etc/hostname 
rather than just the host name.


- Original Message - 
From: Brian Kimball [EMAIL PROTECTED]

To: debian-user@lists.debian.org
Sent: Tuesday, July 26, 2005 3:12 PM
Subject: Re: proper way to change ip and hostname



Matthew Lenz wrote:

rather than grep xarging /etc for occurances of the ip and hostname
is there a proper debian way of changing them?


Others have already led you in the right direction.  To summarize:

1) change IP address: edit interface information
in /etc/network/interfaces

2) change hostname: edit /etc/hostname and /etc/hosts

3) update nameserver information in /etc/resolv.conf
or /etc/network/interfaces if you use the resolvconf package.

But that only handles the bare minimum.  You will also need to
reconfigure any software that has your old hostname, IP address,
netmask, network address, etc., hardcoded in its config files.  In this
case grepping everything in /etc is the only sure-fire way to remember
what needs to be changed and what doesn't.

Note the above: you need to grep for more than just your IP address and
hostname.  For example, I run the cups printing service and have the
statement Allow From 64.172.171.64/29 in cupsd.conf which allows
network printing from all my other IP addresses.  Grepping for any one
of my IP addresses (.65, .66, .67, .68, .69) would not have reminded me
that I need to change that statement to my new settings.

So, in short, grepping /etc _is_ the proper way.  It feels brute force
but it isn't really.  In fact, it helps you learn your system.  Someone
else mentioned that when they were in a similar sitation they were told
to reinstall.  BLECH!!  That's gross.  _That_ would be improper.

hth,

 brian


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact 
[EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




proper way to change ip and hostname

2005-07-25 Thread Matthew Lenz
rather than grep xarging /etc for occurances of the ip and hostname is there 
a proper debian way of changing them?




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: change IP and default route.

2004-11-08 Thread Ben Hutchings
Dr. David Kirkby wrote:
snip
Thank you very much for that - and everyone else that replied. I had not 
seen your post before I see others mentioning /etc/network/interfaces, 
so edit that. so was not sure what to put for the broadcase, although 
since the original ended in .255, I went for that too.

Reading the man pages I found the gateway was optional, which rather 
surprised me. Perhaps the broadcast will get a response from the gateway 
- I am not sure I must admit.
snip
There need not *be* a gateway.  Not every LAN is connected to a wider 
network.

Ben.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: change IP and default route.

2004-11-05 Thread Dr. David Kirkby
Jonathan Colaco wrote:
On Thu, 04 Nov 2004 18:53:15 +, Dr. David Kirkby
[EMAIL PROTECTED] wrote:
 

Hi,
   I installed a system on a company network with a fixed IP
(213.78.42.115), but recently bought a small router. The PC will now
have to use the router as the default route, and I will make the IP
private.
The following commands do what I want
# ifconfig eth0 192.168.123.1 netname 255.255.255.0 # set my IP to
192.168.123.1
# route add default gw 192.168.123.254
But how do I set this to happen automatically?  I changed the IP in
/etc/hosts, and had an attempt at changing /etc/gateways, but clearly
not successfully, as the routing does work after a reboot - I need to
type these commands again.
   

Try this:
edit the file: /etc/network/interfaces
auto eth0
iface eth0 inet static
   address 192.168.123.1
   netmask 255.255.255.0
   network 192.168.123.0
   broadcast 192.168.123.255
   gateway 192.168.123.254
and than: /etc/init.d/network restart
Jonathan Colaço - Jc
Thank you very much for that - and everyone else that replied. I had not 
seen your post before I see others mentioning /etc/network/interfaces, 
so edit that. so was not sure what to put for the broadcase, although 
since the original ended in .255, I went for that too.

Reading the man pages I found the gateway was optional, which rather 
surprised me. Perhaps the broadcast will get a response from the gateway 
- I am not sure I must admit.

Anyway, the result it is now works fine, so thanks everyone for their 
response.

--
Dr. David Kirkby PhD CEng MIEE
Senior Research Fellow
Department of Medical Physics
University College London
11-20 Capper St
London WC1E 6JA
Tel: 020 7679 6406 (direct line)
Tel: 020 7679 6262 (office)

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



change IP and default route.

2004-11-04 Thread Dr. David Kirkby
Hi,
   I installed a system on a company network with a fixed IP 
(213.78.42.115), but recently bought a small router. The PC will now 
have to use the router as the default route, and I will make the IP 
private.

The following commands do what I want
# ifconfig eth0 192.168.123.1 netname 255.255.255.0 # set my IP to 
192.168.123.1
# route add default gw 192.168.123.254

But how do I set this to happen automatically?  I changed the IP in 
/etc/hosts, and had an attempt at changing /etc/gateways, but clearly 
not successfully, as the routing does work after a reboot - I need to 
type these commands again.

--
Dr. David Kirkby PhD CEng MIEE
Senior Research Fellow
Department of Medical Physics
University College London
11-20 Capper St
London WC1E 6JA
Tel: 020 7679 6406 (direct line)
Tel: 020 7679 6262 (office)

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: change IP and default route.

2004-11-04 Thread Jonathan Colaco
On Thu, 04 Nov 2004 18:53:15 +, Dr. David Kirkby
[EMAIL PROTECTED] wrote:
 Hi,
 I installed a system on a company network with a fixed IP
 (213.78.42.115), but recently bought a small router. The PC will now
 have to use the router as the default route, and I will make the IP
 private.
 
 The following commands do what I want
 
 # ifconfig eth0 192.168.123.1 netname 255.255.255.0 # set my IP to
 192.168.123.1
 # route add default gw 192.168.123.254
 
 But how do I set this to happen automatically?  I changed the IP in
 /etc/hosts, and had an attempt at changing /etc/gateways, but clearly
 not successfully, as the routing does work after a reboot - I need to
 type these commands again.
 

Try this:

edit the file: /etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.123.1
netmask 255.255.255.0
network 192.168.123.0
broadcast 192.168.123.255
gateway 192.168.123.254


and than: /etc/init.d/network restart

Jonathan Colaço - Jc



Re: change IP and default route.

2004-11-04 Thread Shreyas Ananthan
Dr. David Kirkby [EMAIL PROTECTED] writes:

 But how do I set this to happen automatically?  I changed the IP in
 /etc/hosts, and had an attempt at changing /etc/gateways, but clearly
 not successfully, as the routing does work after a reboot - I need to
 type these commands again.

you need to edit /etc/network/interfaces look at 'man interfaces' for
more details.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: change IP and default route.

2004-11-04 Thread Joe
In message [EMAIL PROTECTED], Dr. David Kirkby 
[EMAIL PROTECTED] writes
Hi,
  I installed a system on a company network with a fixed IP 
(213.78.42.115), but recently bought a small router. The PC will now 
have to use the router as the default route, and I will make the IP 
private.

The following commands do what I want
# ifconfig eth0 192.168.123.1 netname 255.255.255.0 # set my IP to 
192.168.123.1
# route add default gw 192.168.123.254

But how do I set this to happen automatically?  I changed the IP in 
/etc/hosts, and had an attempt at changing /etc/gateways, but clearly 
not successfully, as the routing does work after a reboot - I need to 
type these commands again.

The file you need is /etc/network/interfaces. It's fairly 
self-explanatory, or man interfaces for the whole story..
--
Joe

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: change IP and default route.

2004-11-04 Thread Dave Ewart
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday, 04.11.2004 at 19:16 +, Joe wrote:

 In message [EMAIL PROTECTED], Dr. David Kirkby 
 [EMAIL PROTECTED] writes
 Hi,
   I installed a system on a company network with a fixed IP 
 (213.78.42.115), but recently bought a small router. The PC will now 
 have to use the router as the default route, and I will make the IP 
 private.
 
 The following commands do what I want
 
 # ifconfig eth0 192.168.123.1 netname 255.255.255.0 # set my IP to 
 192.168.123.1
 # route add default gw 192.168.123.254
 
 But how do I set this to happen automatically?  I changed the IP in 
 /etc/hosts, and had an attempt at changing /etc/gateways, but clearly 
 not successfully, as the routing does work after a reboot - I need to 
 type these commands again.
 
 The file you need is /etc/network/interfaces. It's fairly 
 self-explanatory, or man interfaces for the whole story..

You might also like to try:

dpkg-reconfigure etherconf

or

apt-get install etherconf

This package provides a debconf-based interface to configuring the
Ethernet on your system.

Dave.
- -- 
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED]
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBior0nhBnac0o2pIRAhhgAKDdfi8fGB99e666vsHiCft2rMHO/wCgu+RS
GjHK0w6Db0bK+L+brobo3j8=
=y19N
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Standard way to change IP?

2000-02-01 Thread Oki DZ


On Fri, 7 Jan 2000, George Bonser wrote:

 On Sat, 8 Jan 2000, Jonathan Chang wrote:
 
  Hi, all
  
  Is there any standard way for debian to change ip address? Or
  I need to modify files in /etc manully? Thanks in advance.
 
 Edit /etc/init.d/network and reboot is the EASIEST way for a newbie.

No need to reboot, just shutdown the NIC:
ifconfig eth0 down
and then run the /etc/init.d/network (after you edited it of course):
/etc/init.d/network

Oki


Re: Standard way to change IP?

2000-01-10 Thread Ronald Tin
On Sat, Jan 08, 2000 at 09:17:05PM +0100, Robert Waldner wrote:
 I find that sometimes I cannot use that interface after the network
 is changed I get something like network unreachable when
 I try to ping some hosts on that network. The NIC is fine after
 a reboot. Most of the time I was using slink with kernel 2.2.13.
 Are there any other things that I need to do?  Or was it driver
 dependent?
 
 sounds like a missing route, route -n will show you the actual routing table, 
 which should be something like
 Destination Gateway Genmask Flags Metric RefUse Iface
 193.154.142.0   0.0.0.0 255.255.255.0   U 0  0  116 eth0
 127.0.0.0   0.0.0.0 255.0.0.0   U 0  04 lo
 0.0.0.0 193.154.142.1   0.0.0.0 UG1  0   46 eth0
 
 the kernel needs to know which ip-address of its default-gateway and over 
 which interface that can be reached.
 
 /etc/init.d/network should add the appropriate routes when invoked via 
 /etc/rcS.d/S40network.
 
 if that doesn´t help, do a ping -v to see where the unreachables come from, 
 could be your host or some router on the way...
 

But the routes are there. At least the routes for the local
network are there. (2.2 kernels add them automatically, don't
they?) I even tried to manually bring down all ethX, remove all
routes and start them up again. Still doesn't work until I reboot
in frustration. Can't even ping other hosts in the same network.

Perhaps I overlooked something

To Lindsay: I tried manually using ifconfig already :(


Standard way to change IP?

2000-01-08 Thread Jonathan Chang
Hi, all

Is there any standard way for debian to change ip address? Or
I need to modify files in /etc manully? Thanks in advance.

--
Chia-Sheng Chang
Institute of Communications Engineering
College of Electrical Engineering
National Taiwan University
Taipei, Taiwan 10617
E-Mail: [EMAIL PROTECTED]


Re: Standard way to change IP?

2000-01-08 Thread Robert Waldner
On Sat, 08 Jan 2000 15:04:33 +0800, Jonathan Chang writes:
Hi, all

   Is there any standard way for debian to change ip address? Or
I need to modify files in /etc manully? Thanks in advance.

modify /etc/init.d/network accordingly, do an ifconfig interface down, then 
run  /etc/rcS.d/S40network

rw
-- 
-- +++ EUnet/[EMAIL PROTECTED], 15.-17.2.'2k, Ebene02/Stand08 +++
- ___   - Robert WaldnerEUnet/AT tech staff 
 //   /  ___   _/_ -- [EMAIL PROTECTED]   RW960-RIPE
--- /--- /   / /   / /___/ /  --- ---EUnet EDV-DienstleistungsgesmbH---
-- /___ /___/ /   / /___  /_  Diefenbachgasse 35A-1150 Wien
-   - Tel: +43 1 89933 Fax: +43 1 89933 533



Re: Standard way to change IP?

2000-01-08 Thread Dave Sherohman
Jonathan Chang said:
   Is there any standard way for debian to change ip address? Or
 I need to modify files in /etc manully? Thanks in advance.

To change it temporarily (until the next reboot), use ifconfig.

For a permanent change, yes, you have to edit a config file in /etc.
(/etc/init.d/network, to be exact.)

-- 
Geek Code 3.1:  GCS d- s+: a- C++ UL++$ P L++ E- W--(++) N+ o+ !K
w---$ O M- !V PS+ PE Y+ PGP t 5++ X+ R++ tv- b++ DI D G e* h+ r++ y+


Re: Standard way to change IP?

2000-01-08 Thread Ronald Tin
On Sat, Jan 08, 2000 at 12:10:41PM +0100, Robert Waldner wrote:
 On Sat, 08 Jan 2000 15:04:33 +0800, Jonathan Chang writes:
 Hi, all
 
  Is there any standard way for debian to change ip address? Or
 I need to modify files in /etc manully? Thanks in advance.
 
 modify /etc/init.d/network accordingly, do an ifconfig interface down, then 
 run  /etc/rcS.d/S40network

I find that sometimes I cannot use that interface after the network
is changed I get something like network unreachable when
I try to ping some hosts on that network. The NIC is fine after
a reboot. Most of the time I was using slink with kernel 2.2.13.
Are there any other things that I need to do?  Or was it driver
dependent?


Re: Standard way to change IP?

2000-01-08 Thread Robert Waldner
On Sun, 09 Jan 2000 03:06:02 +0800, Ronald Tin writes:
On Sat, Jan 08, 2000 at 12:10:41PM +0100, Robert Waldner wrote:
 modify /etc/init.d/network accordingly, do an ifconfig interface down, the
n run  /etc/rcS.d/S40network

I find that sometimes I cannot use that interface after the network
is changed I get something like network unreachable when
I try to ping some hosts on that network. The NIC is fine after
a reboot. Most of the time I was using slink with kernel 2.2.13.
Are there any other things that I need to do?  Or was it driver
dependent?

sounds like a missing route, route -n will show you the actual routing table, 
which should be something like
Destination Gateway Genmask Flags Metric RefUse Iface
193.154.142.0   0.0.0.0 255.255.255.0   U 0  0  116 eth0
127.0.0.0   0.0.0.0 255.0.0.0   U 0  04 lo
0.0.0.0 193.154.142.1   0.0.0.0 UG1  0   46 eth0

the kernel needs to know which ip-address of its default-gateway and over which 
interface that can be reached.

/etc/init.d/network should add the appropriate routes when invoked via 
/etc/rcS.d/S40network.

if that doesn´t help, do a ping -v to see where the unreachables come from, 
could be your host or some router on the way...

rw
-- 
-- +++ EUnet/[EMAIL PROTECTED], 15.-17.2.'2k, Ebene02/Stand08 +++
- ___   - Robert WaldnerEUnet/AT tech staff 
 //   /  ___   _/_ -- [EMAIL PROTECTED]   RW960-RIPE
--- /--- /   / /   / /___/ /  --- ---EUnet EDV-DienstleistungsgesmbH---
-- /___ /___/ /   / /___  /_  Diefenbachgasse 35A-1150 Wien
-   - Tel: +43 1 89933 Fax: +43 1 89933 533



Re: how change IP address?

1999-02-11 Thread John Hasler
David Zanetti writes:
 As an asside to the list, what's the chances of the /etc/init.d/network
 scripts being replaced with something else? Long ago I hacked up a
 script for slackware to read bits and pieces from a directory and use
 that information to build the interfaces.

A group on -devel are discussing that very thing right now.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Re: how change IP address?

1999-02-11 Thread Jolyon Suthers
 As an asside to the list, what's the chances of the /etc/init.d/network
 scripts being replaced with something else? Long ago I hacked up a
 script for slackware to read bits and pieces from a directory and use
 that information to build the interfaces.

A group on -devel are discussing that very thing right now.
Such a script wouldn't be all that difficult - personally I wrote up a
couple of them for myself over the years. But I found that the usual
circumstances involving a change of IP, involved alterations to other
information, computer name, subnet, network, domain name, etc. And since
there are a lot of configuration files that have the raw system values
within them - it is necessary to search for the information that I needed to
change, as well as being aware of what affects my changes would have upon
the running status of the system.

Jolyon



Re: how change IP address?

1999-02-11 Thread Nils Rennebarth
On Wed, Feb 10, 1999 at 09:32:50PM -, Shaleh wrote:
 On 10-Feb-99 Eliezer Figueroa wrote:
  how can I change the IP address? Is there any menu I can use like the 
  one in the install process?
 
 Edit /etc/init.d/network
And don't forget to change it in /etc/hosts too

Nils

--
Plug-and-Play is really nice, unfortunately it only works 50% of the time.
To be specific the Plug almost always works.--unknown source


pgpN0CZUAyWIH.pgp
Description: PGP signature


how change IP address?

1999-02-10 Thread Eliezer Figueroa
how can I change the IP address? Is there any menu I can use like the 
one in the install process?

__
Get Your Private, Free Email at http://www.hotmail.com


RE: how change IP address?

1999-02-10 Thread Shaleh

On 10-Feb-99 Eliezer Figueroa wrote:
 how can I change the IP address? Is there any menu I can use like the 
 one in the install process?

Edit /etc/init.d/network


RE: how change IP address?

1999-02-10 Thread David Zanetti
You'll need to edit /etc/init.d/network if you're talking about the
ethernet IP address.

For PPP dialed up to a normal ISP, that's determined by your ISP, not
your machine.

As an asside to the list, what's the chances of the /etc/init.d/network
scripts being replaced with something else? Long ago I hacked up a
script for slackware to read bits and pieces from a directory and use
that information to build the interfaces. It'd make admining a lot
easier (I did it because I had a box with 3 real interfaces and a dozen
aliases) and handles things like being re-run when the interfaces are
up. (read: it downs them first..)

David Zanetti, Unix System Administrator, Information Technology Group
Wellington City Council, New Zealand. Phone x3354 or 04 801 3354

The information contained in this email is privileged and confidential
and intended for the addressee only. If you are not the intended
recipient, you are asked to respect that confidentiality and not
disclose, copy or make use of its contents. If received in error you are
asked to destroy this email and contact the sender immediately. Your
assistance is appreciated.

 -Original Message-
 From: Eliezer Figueroa [SMTP:[EMAIL PROTECTED]
 Sent: Thursday, 11 February 1999 10:07
 To:   debian-user@lists.debian.org
 Cc:   recipient list not shown
 Subject:  how change IP address?
 
 how can I change the IP address? Is there any menu I can use like the 
 one in the install process?
 
 __
 Get Your Private, Free Email at http://www.hotmail.com
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]
  /dev/null


change IP

1997-11-20 Thread teguh
hi..netterss..

i'm new user in debian linux 
i wanna change ip address  in my debian server...
how can i change that,.??
please give an advise ...

thanks

sincerly

'teguh
 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: change IP

1997-11-20 Thread dpk
You will have to edit the file /etc/init.d/networks... you will
have to change IPADDR, and maybe BROADCAST and GATEWAY, depending
if you change subnets.  If you do, make sure you edit /etc/networks
also.

Once you make those changes, as root run /etc/init.d/networks
to test your new settings.  You shouldn't need to reboot.

Thanks,
Dennis
--
dpk [EMAIL PROTECTED], Systems/Network |  work: 353.4844
Division of Engineering Computing Services |  page: 222.5875

On Thu, 20 Nov 1997 [EMAIL PROTECTED] wrote:

 hi..netterss..
 
 i'm new user in debian linux 
 i wanna change ip address  in my debian server...
 how can i change that,.??
 please give an advise ...
 
 thanks
 
 sincerly
 
 'teguh
  
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 
 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: change IP

1997-11-20 Thread teguh
At 12:51 AM 11/20/97 -0500, you wrote:
You will have to edit the file /etc/init.d/networks... you will
have to change IPADDR, and maybe BROADCAST and GATEWAY, 

thanks for helping me about change the ip addres ..it's work,..! -:)

and  i have 2 program in my debian linux :
 
- IRCD 
- eggdrop 

that stuff already work  but i must start that stuff step by step , first i
run IRCD and then eggdrop , i wanna that all stuff running  in start up ..,
how can i make it,..??  

please , give some advice...

thanks

sincerly

'teguh.
 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: change IP

1997-11-20 Thread Kevin Traas
that stuff already work  but i must start that stuff step by step , first i
run IRCD and then eggdrop , i wanna that all stuff running  in start up ..,
how can i make it,..??


Add a script file to the /etc/rc.boot directory as follows:

/etc/rc.boot/irc-startup:
---snip here---
#!/bin/sh
/path/to/ircd
/path/to/eggdrop
---snip here

Just a few additional comments:

 - make sure the #!/bin/sh is the *first* line in the file.
- adjust the path entries as required... obviously.
- chmod 755 /etc/rc.boot/irc-startup to make it executable

Good luck,
Kevin Traas


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .