Re: [leaf-user] Using ifconfig?

2002-07-30 Thread Dan Harkless


George Georgalis [EMAIL PROTECTED] writes:
 Try these... (the default is 'show')
 ip addr
 ip route
 ip link
 ip help
 ip addr help
 etc... I know the help is not easy, but it's all there
 
 I bring up my interfaces something like this...
 
 # first bring everything down...
 d=`ip -o link show | cut -d: -f2`
 for i in $d ; do
 ip addr flush $i
 ip link set $i down
 done
 
 # then bring up each interface like so...
 ip link set lo up
 ip link set eth0 up
 ip addr add 127.0.0.1/8 label lodev lo
 ip addr add 192.168.0.1/24  label eth0  dev eth0
 ip route add 0/0via 12.34.56.78 table main # use your GW
 
 Not sure how to ppp/chat with the ip command.

I don't think you can.  But with PPPoE, at least (and presumably dialup PPP
as well), ifdown ppp0 will bring down the PPP interface and ifup ppp0
will bring up the interface, doing a new PPP login, getting a newly-assigned
IP address, etc.

--
Dan Harkless
[EMAIL PROTECTED]
http://harkless.org/dan/


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



[leaf-user] Using ifconfig?

2002-07-29 Thread Craig

Hi everyone,
How do I, or I should say, WHERE do I run the ifconfig command from???
I've tried just logging in to Dachstein, and changing to the sbin
directory and nothing works. Hmmph, I'm stumped! Thank you, have a great
week.

Craig




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Using ifconfig?

2002-07-29 Thread Erich Titl

Craig

IIRC Dachstein by default does not have ifconfig but the iproute2 command 
suite, e.g. you have to use ip.
There is a ifconfig.lrp module at 
http://leaf.sourceforge.net/devel/cstein/Packages/ifconfig.htm

HTH

Erich

At 16:04 29.07.2002, you wrote:
Hi everyone,
How do I, or I should say, WHERE do I run the ifconfig command from???
I've tried just logging in to Dachstein, and changing to the sbin
directory and nothing works. Hmmph, I'm stumped! Thank you, have a great
week.

Craig




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

THINK
Püntenstrasse 39
8143 Stallikon
mailto:[EMAIL PROTECTED]
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024  8D8A B7D4 FF9D 05B8 0A16



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Using ifconfig?

2002-07-29 Thread George Georgalis

Try these... (the default is 'show')
ip addr
ip route
ip link
ip help
ip addr help
etc... I know the help is not easy, but it's all there

I bring up my interfaces something like this...

# first bring everything down...
d=`ip -o link show | cut -d: -f2`
for i in $d ; do
ip addr flush $i
ip link set $i down
done

# then bring up each interface like so...
ip link set lo up
ip link set eth0 up
ip addr add 127.0.0.1/8 label lodev lo
ip addr add 192.168.0.1/24  label eth0  dev eth0
ip route add 0/0via 12.34.56.78 table main # use your GW

Not sure how to ppp/chat with the ip command.

// George

On Mon, Jul 29, 2002 at 04:18:51PM +0200, Erich Titl wrote:
Craig

IIRC Dachstein by default does not have ifconfig but the iproute2 command 
suite, e.g. you have to use ip.
There is a ifconfig.lrp module at 
http://leaf.sourceforge.net/devel/cstein/Packages/ifconfig.htm

HTH

Erich

At 16:04 29.07.2002, you wrote:
Hi everyone,
How do I, or I should say, WHERE do I run the ifconfig command from???
I've tried just logging in to Dachstein, and changing to the sbin
directory and nothing works. Hmmph, I'm stumped! Thank you, have a great
week.

Craig




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

THINK
Püntenstrasse 39
8143 Stallikon
mailto:[EMAIL PROTECTED]
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024  8D8A B7D4 FF9D 05B8 0A16



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
File, Print, DB and DNS Servers.   http://www.galis.org/george 



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



[leaf-user] Using ifconfig?

2002-07-29 Thread Craig

Hi folks,
I'm confused. My Dachstein CD already has an ifconfig.lrp file on it. Do
I need a different ifconfig.lrp module? Why doesn't the one I have work?
Thanks.

Craig




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Using ifconfig?

2002-07-29 Thread Erich Titl

Craig

Craig wrote the following at 17:59 29.07.2002:
Hi folks,
I'm confused. My Dachstein CD already has an ifconfig.lrp file on it. Do
I need a different ifconfig.lrp module? Why doesn't the one I have work?
Thanks.

Sorry, a was not aware you had the CD version, you may have to specify 
which modules to load to the ramdisk, IIRC this is in the the lrpkg.cfg 
file on your floppy.

HTH

Erich



THINK
Püntenstrasse 39
8143 Stallikon
mailto:[EMAIL PROTECTED]
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024  8D8A B7D4 FF9D 05B8 0A16



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Using ifconfig?

2002-07-29 Thread Brad Fritz


On Mon, 29 Jul 2002 12:42:02 EDT George Georgalis wrote:

 On Mon, Jul 29, 2002 at 08:59:20AM -0700, Craig wrote:
 Hi folks,
 I'm confused. My Dachstein CD already has an ifconfig.lrp file on it. Do
 I need a different ifconfig.lrp module? Why doesn't the one I have work?
 Thanks.
 
 Craig
 
 cannot help you with that, have not used the module.
 
 Are you sure it's being loaded by defining it as part of LRP=... in your
 syslinux.cfg file?
 
 if so try 
 
 find / -name ipconfig

Just to add a few tidbits to already good suggestions from George...

lrpkg -l will list loaded modules.  ifconfig should show up if
it is loaded.  To load a single module without rebooting, you can
mount the medium that has the package, change to it's directory,
and issue a lrpkg -i packagename.  For your cdrom setup, a

   mount -t iso9660 /dev/cdrom /mnt
   cd /mnt
   lrpkg -i ifconfig
   umount /mnt

(untested) will probably do it.  If you're using v1.0.1 or earlier,
you may need to replace cdrom with hdX1 where X is a, b, c or d,
depending on what IDE interface your CD-ROM is installed on.

--Brad



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



[leaf-user] Using ifconfig with Dachstein

2002-07-29 Thread Craig

Hi folks,
Let me start over. I'm using the Dachstein 1.0.2 CD which, I see, has
the ifconfig.lrp module already on it. How do I get the ifconfig module
to load upon start-up??? Do I- a.)Simply edit an existing config file?
(Which file, and how do I find/edit it?) b.)Need to create an lrpkg.cfg
file (How do I do that?). Thank you.

Craig




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html