C code to find interface IP address

2003-03-19 Thread mtsouk
Hello to everyone. I am looking for C code in order to find the IP address of each ethX interface in a Linux machine. many thanks in advance, Mihalis. - :wq -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Setting Static IP Address

2003-03-14 Thread Aryan Ameri
On Thursday 13 March 2003 23:50, Harley D. Eades III wrote: > CM Miller wrote: > >Very new to Debian and installed Woody last weekend. > >FOr some reason, it didn't recognize by pci 3com nics, > >but after a little help on this list I got them. > > > >Now, ho

Re: Setting Static IP Address

2003-03-13 Thread Harley D. Eades III
CM Miller wrote: Very new to Debian and installed Woody last weekend. FOr some reason, it didn't recognize by pci 3com nics, but after a little help on this list I got them. Now, how do I set a static ip address? thanks -Chris = Winning an argument on the internet is like gettin

Re: Setting Static IP Address, done..now setup Apt-Get

2003-03-12 Thread Seneca
On Wed, Mar 12, 2003 at 05:41:14PM -0800, CM Miller wrote: > I had to create my resolv.conf from scratch, not a big > deal and I have apt-get lynx-ssl and vim...so I am on > my way...thanks for the help > > also, how do I apt-get X? apt-get install x-window-system-core > And, what other pac

Re: Setting Static IP Address, done..now setup Apt-Get

2003-03-12 Thread CM Miller
I had to create my resolv.conf from scratch, not a big deal and I have apt-get lynx-ssl and vim...so I am on my way...thanks for the help also, how do I apt-get X? And, what other packages should I apt-get? thanks to all!!! -Chris = Winning an argument on the internet is lik

Re: Setting Static IP Address

2003-03-11 Thread Stephen E. Hargrove
nics, > but after a little help on this list I got them. > > Now, how do I set a static ip address? > > thanks > > -Chris > > > > = > Winning an argument on the internet is like getting 1st place at the Special Olympics > > ***

Re: Setting Static IP Address

2003-03-11 Thread ktb
On Tue, Mar 11, 2003 at 07:52:04PM -0800, CM Miller wrote: > > > Very new to Debian and installed Woody last weekend. > FOr some reason, it didn't recognize by pci 3com nics, > but after a little help on this list I got them. > > Now, how do I set a static ip a

Setting Static IP Address

2003-03-11 Thread CM Miller
Very new to Debian and installed Woody last weekend. FOr some reason, it didn't recognize by pci 3com nics, but after a little help on this list I got them. Now, how do I set a static ip address? thanks -Chris = Winning an argument on the internet is like getting 1st place a

Re: mistypes IP-address

2003-02-27 Thread Martin Kacerovsky
Hi, On Thu, Feb 27, 2003 at 06:57:00PM +0100, Ina&Frank wrote: > Dear fellas, > > At the moment I am installing an IBM-PC and during the > instllation-process I mistyped the IP-address :-( . Look into /etc/network/interfaces, there should be something like: iface eth0 inet st

Re: mistypes IP-address

2003-02-27 Thread nate
Ina&Frank said: > Dear fellas, > > At the moment I am installing an IBM-PC and during the > instllation-process I mistyped the IP-address :-( . > > I thought I could correct it with: ifconfig eth0 address > 192.168.what.ever. It won't accept the command you can ..

Re: mistypes IP-address

2003-02-27 Thread Gabriel Granger
Hi Edit file /etc/network/interfaces - Regards - Gabe Ina&Frank wrote: Dear fellas, At the moment I am installing an IBM-PC and during the instllation-process I mistyped the IP-address :-( . I thought I could correct it with: ifconfig eth0 address 192.168.what.ever

RE: mistypes IP-address

2003-02-27 Thread deFreese, Barry
mer CIO at Dell > -Original Message- > From: Ina&Frank [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 10:20 AM > To: Debian > Subject: mistypes IP-address > > > Dear fellas, > > At the moment I am installing an IBM-PC and during the

mistypes IP-address

2003-02-27 Thread
Dear fellas, At the moment I am installing an IBM-PC and during the instllation-process I mistyped the IP-address :-( . I thought I could correct it with: ifconfig eth0 address 192.168.what.ever. It won't accept the command What actions do I have to take to correct the address of eth0-inte

Re: Unable to get IP address after new kernel compile

2003-01-18 Thread Andrew Perrin
rnel (2.2.20), > I am able to get an IP address ? > > Any idea whats up ? > > Thanks > > Ajay Gautam > > = > Ajay Gautam > Registered Linux User #252843 http://counter.li.org > Tired of unwanted pop-up ads, try

Re: Unable to get IP address after new kernel compile

2003-01-18 Thread Johan Ehnberg
Ajay Gautam wrote: Hello, I compiled 2.4.18 (from the debian disks), and installed it. Unfortunately, when I use the new kernel, I do not get an ipaddress from my cable modem (dhclient eth0), but if I use the old kernel (2.2.20), I am able to get an IP address ? Any idea whats up ? Yup. I

Unable to get IP address after new kernel compile

2003-01-18 Thread Ajay Gautam
Hello, I compiled 2.4.18 (from the debian disks), and installed it. Unfortunately, when I use the new kernel, I do not get an ipaddress from my cable modem (dhclient eth0), but if I use the old kernel (2.2.20), I am able to get an IP address ? Any idea whats up ? Thanks Ajay Gautam = Ajay

Re: rp-pppoe: How can I configure a fix IP address?

2002-12-31 Thread Mark Roach
On Mon, 2002-12-30 at 13:37, Lukas Ruf wrote: > Dear all, > > can anyone of you give me a hint how I can > configure a fix IP address with the roaring penguin ppp packet? > > Thanks for any hint! If you modify the ppp peer file (usually /etc/ppp/peers/dsl-provider) you shou

rp-pppoe: How can I configure a fix IP address?

2002-12-30 Thread Lukas Ruf
Dear all, can anyone of you give me a hint how I can configure a fix IP address with the roaring penguin ppp packet? Thanks for any hint! wbr, Lukas -- Lukas Ruf http://www.lpr.ch Wanna know anything about raw ip? Join [EMAIL PROTECTED] on http://www.rawip.org -- To UNSUBSCRIBE, email to

Re: whereami: setting ip address?

2002-10-15 Thread Russell
Jerome BENOIT wrote: > > Hi All ! > > Is there any documentation about the usage of the (new) > subdirectories in `/etc/network' ? man interfaces -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: whereami: setting ip address?

2002-10-15 Thread Jerome BENOIT
n the todo list. I > use ipconfig calls from within whereami.conf for the network where an ip > address is not assigned automatically: > > +home ifconfig eth0 192.168.10.7 > +home route del default > +home route add default gw 192.168.10.1 > > Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: whereami: setting ip address?

2002-10-15 Thread Chris Halls
perfect, and there isn't good support for using network mappings; it is on the todo list. I use ipconfig calls from within whereami.conf for the network where an ip address is not assigned automatically: +home ifconfig eth0 192.168.10.7 +home route del default +home route add default gw 19

whereami: setting ip address?

2002-10-15 Thread martin f krafft
so i am starting to learn whereami (because i need to use something, not because i have made a decision), and while it wonderfully detects the correct environment and changes postfix and resolv.conf and printcap and whatnot, it fails to do one vital thing: giving an IP address to eth0 and

Re: Can't access 1 IP address on Lan

2002-10-11 Thread Curtis
> hi ya curtis > > do my silly question is.. where is the machine called 10.0.1.1 > that does not reply to pings ?? It's a small office LAN. My computer that can't ping it has an IP of 10.0.1.5. It does reply to pings from ANY OTHER computer, except 10.0.1.5. > - if you know where 10.0.1.1 is...

Re: Can't access 1 IP address on Lan

2002-10-10 Thread Alvin Oga
hi ya curtis do my silly question is.. where is the machine called 10.0.1.1 that does not reply to pings ?? - if you know where 10.0.1.1 is... do the same set of commands again ( route -nv, ifconfig -v, ipchains -L, etc - the 10.0.1.1 machine should be able to ping itse

Re: Can't access 1 IP address on Lan

2002-10-10 Thread Curtis
> hi ya curtis > > what is the output of > > root# route -nv Debian3800:~# route -nv Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 10.0.1.00.0.0.0 255.255.255.0 U 0 00 eth0 0.0.0.0 10.0.1.254 0.

Re: Can't access 1 IP address on Lan

2002-10-09 Thread Alvin Oga
hi ya curtis what is the output of root# route -nv root# ifconfig -v root# ipchains -L root# ping 10.0.1.1 ( a local ping of itself should always work even w/o a cable ) am assuming you didn't manually turn off ping replies on the one host am also assuming you tried swapping the c

Re: Can't access 1 IP address on Lan

2002-10-09 Thread David Cureton
I would check the route table. Sounds like you can only reach your mail server because it is probably your default route. Just a thought Cheers David On Tuesday 08 October 2002 08:16, Curtis Vaughan wrote: > Strangest thing. > > Our network is 10.0.1.0/255.255.255.0 > I can access any addre

Re: Can't access 1 IP address on Lan - Recap

2002-10-09 Thread Tony Wasson
> By the way, I still can't ping one IP address from a Debian computer > within my LAN. > This data (except IP address) is exactly the same as on another Debian computer, but it >pings 10.0.1.1 no problem. I would try running tcpdump and pinging 10.0.1.1 on your working machin

Can't access 1 IP address on Lan - Recap

2002-10-09 Thread Curtis Vaughan
By the way, I still can't ping one IP address from a Debian computer within my LAN. To repeat, my network setup is 10.0.1.0/255.255.255.0 eth0 information is: inet addr: 10.0.1.5 Bcast: 10.0.1.255 Mask:255.255.255.0 route information follows: route -n DestinationGateway Ge

Re: Can't access 1 IP address on Lan

2002-10-07 Thread Jamin W . Collins
On Mon, 07 Oct 2002 15:16:33 -0700 Curtis Vaughan <[EMAIL PROTECTED]> wrote: > Our network is 10.0.1.0/255.255.255.0 > I can access any address in our network except 10.0.1.1, which is our > mail server. It won't ping it or anything. Any ideas? Please provide more information... such as the

Re: Can't access 1 IP address on Lan

2002-10-07 Thread Curtis Vaughan
route information follows: route -n DestinationGateway Genmask 10.0.1.0 0.0.0.0 255.255.255.0 0.0.0.010.0.1.2540.0.0.0 Exactly the same as on another Debian computer, but it ping 10.0.1.1 no problem. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a sub

Can't access 1 IP address on Lan

2002-10-07 Thread Curtis Vaughan
Strangest thing. Our network is 10.0.1.0/255.255.255.0 I can access any address in our network except 10.0.1.1, which is our mail server. It won't ping it or anything. Any ideas? Curtis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL

Re: What's my dynamic IP address

2002-10-03 Thread Paul Johnson
On Tue, Oct 01, 2002 at 08:48:46PM -0400, Marc Shapiro wrote: > As the subject says: Where do I find my IP address after I connect to my > ISP with a dial-up account? I am guessing that it is somewhere in > 'proc', but I haven't figured out where. Actually, it'

Re: What's my dynamic IP address

2002-10-01 Thread Andre Berger
--bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Marc Shapiro <[EMAIL PROTECTED]>, 2002-10-01 20:46 -0400: > As the subject says: Where do I find my IP address after I connect to my > ISP with a dial-up account? I am guessing that it is

Re: What's my dynamic IP address

2002-10-01 Thread David Z Maze
Marc Shapiro <[EMAIL PROTECTED]> writes: > As the subject says: Where do I find my IP address after I connect to my > ISP with a dial-up account? I am guessing that it is somewhere in > 'proc', but I haven't figured out where. You should be able to find your cur

Re: What's my dynamic IP address

2002-10-01 Thread Patrick Wiseman
On Tue, 1 Oct 2002 at 8:48pm, Marc Shapiro wrote: :As the subject says: Where do I find my IP address after I connect to my :ISP with a dial-up account? I am guessing that it is somewhere in :'proc', but I haven't figured out where. '/sbin/ifconfig' should rep

Re: What's my dynamic IP address

2002-10-01 Thread Shawn Lamson
i use ifconfig ppp0 and then grep it for the IP line and cut for the address... this will only work obviously if you are using point to point protocol... try it! Shawn --- Marc Shapiro <[EMAIL PROTECTED]> wrote: > As the subject says: Where do I find my IP address after I connect to &

What's my dynamic IP address

2002-10-01 Thread Marc Shapiro
As the subject says: Where do I find my IP address after I connect to my ISP with a dial-up account? I am guessing that it is somewhere in 'proc', but I haven't figured out where. -- Marc Shapiro "If you drink melomel every day, [EMAIL PROTECTED]

Re: ipchains: drop a single IP address?

2002-06-28 Thread Brian P. Flaherty
Derrick 'dman' Hudson <[EMAIL PROTECTED]> writes: > On Fri, Jun 28, 2002 at 11:30:00AM -0400, Brian P. Flaherty wrote: > | This works for me: > | > | ipchains -A input -s 12.27.41.66 -j DENY -l > > Does this send back a "connection refused" packet? I forget what the > target names are for ipcha

Re: ipchains: drop a single IP address?

2002-06-28 Thread Derrick 'dman' Hudson
On Fri, Jun 28, 2002 at 11:30:00AM -0400, Brian P. Flaherty wrote: | This works for me: | | ipchains -A input -s 12.27.41.66 -j DENY -l Does this send back a "connection refused" packet? I forget what the target names are for ipchains, but with iptables you want to use "DROP" instead of "REJECT"

Re: ipchains: drop a single IP address?

2002-06-28 Thread Brian P. Flaherty
This works for me: ipchains -A input -s 12.27.41.66 -j DENY -l You can drop the final -l if you don't want to log. HTH. Brian Flaherty -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

ipchains: drop a single IP address?

2002-06-28 Thread Dave Price
I know this should be easy, but I cannot seem to get the syntax correct for ipchains (2.2 kernel) to drop all traffic from a single IP address. aloha, dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bringing up an interface without an IP address

2002-06-18 Thread Andrew Pollock
Hi, I have a requirement for an IDS, that the interface it listens on be up, and in promiscuous mode without an IP address assigned to it. I'm trying to work out how best to achieve this, preferably, doing it "the Debian way". >From reading interfaces(5) there appears to be

Re: Multiple IP address on eth0

2002-04-15 Thread Pollywog
On 2002.04.15 22:12 Matthew Daubenspeck wrote: How can I add a second IP address to eth0 [which already has 192.168.0.2]?? You can find out by reading the IP Aliasing Mini-Howto: http://www.tldp.org/HOWTO/mini/IP-Alias/mysetup.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

RE: Multiple IP address on eth0

2002-04-15 Thread Panuganty, Ramesh
| How can I add a second IP address to eth0 [which already has 192.168.0.2]?? Should be very easy. Follow the instruction for a normal NIC configuration, but keep the name as "eth0:0". Is this configuration to run multiple web servers on the same system or to use the linux system as a

Multiple IP address on eth0

2002-04-15 Thread Matthew Daubenspeck
How can I add a second IP address to eth0 [which already has 192.168.0.2]?? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

start networking before pcmcia & RE: Reconfigure IP address

2002-03-14 Thread Nicholas Imfeld
al Message- From: Ron Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 13, 2002 12:24 PM To: Debian-User Subject: RE: Reconfigure IP address On Wed, 2002-03-13 at 06:04, Nicholas Imfeld wrote: > I don't seem to have dhcp folder let alone dhclient.leases. Additional > info -

RE: Reconfigure IP address

2002-03-13 Thread Ron Johnson
On Wed, 2002-03-13 at 06:04, Nicholas Imfeld wrote: > I don't seem to have dhcp folder let alone dhclient.leases. Additional > info - my ISP IP address has not changed however I have a router between > the computer and the ISP. When I look into the router's DHCP Client > t

RE: Reconfigure IP address

2002-03-13 Thread Nicholas Imfeld
I don't seem to have dhcp folder let alone dhclient.leases. Additional info - my ISP IP address has not changed however I have a router between the computer and the ISP. When I look into the router's DHCP Client tables it does not show up. I've taken this computer(laptop) with m

Re: Reconfigure IP address

2002-03-12 Thread Vineet Kumar
* Michael Montagne ([EMAIL PROTECTED]) [020312 16:09]: > I get more info. I just get the feeling that I'm not supposed to edit > /etc/network/interfaces. The warnings seem to imply that I should let > debconf do what it does best. Not so, $EDITOR /etc/network/interfaces and hack away! All you n

Re: Reconfigure IP address

2002-03-12 Thread Ron Johnson
On Tue, 2002-03-12 at 17:04, Michael Montagne wrote: > To reconfigure my IP address from DHCP to a static address, I need to > run dpkg-reconfigure netbase, right? If this is not correct, where can > I get more info. I just get the feeling that I'm not supposed to edit > /etc/n

Reconfigure IP address

2002-03-12 Thread Michael Montagne
To reconfigure my IP address from DHCP to a static address, I need to run dpkg-reconfigure netbase, right? If this is not correct, where can I get more info. I just get the feeling that I'm not supposed to edit /etc/network/interfaces. The warnings seem to imply that I should let debco

Re: access to IP address for a machine on inet behind a firewall?

2002-02-24 Thread Shri Shrikumar
> > Note!! ftp is almost as evil as telnet, since it is just as insecure. > > > Is it possible to discover what INET IP addresses are assigned to > > these machines (if any)? How can I learn what IP address a machine > > outside the LAN associates with my machine? &

Re: access to IP address for a machine on inet behind a firewall?

2002-02-23 Thread Ron Johnson
92.168.1.4. The ftp and http could both be on 192.168.1.2, but can not have http daemons on 192.168.1.2 & 192.168.1.3. Note!! ftp is almost as evil as telnet, since it is just as insecure. > Is it possible to discover what INET IP addresses are assigned to > these machines (if any)? How

access to IP address for a machine on inet behind a firewall?

2002-02-23 Thread Alan E . Davis
these machines from home. Is it possible to discover what INET IP addresses are assigned to these machines (if any)? How can I learn what IP address a machine outside the LAN associates with my machine? I'm learning, slowly but surely. Please point to the FM? Alan -- Alan E.

SOLVED Can't access aliased ip address

2002-01-03 Thread Chad Morgan
It turns out it was in fact a firewall problem. I discovered that I wasn't resetting the firewall to no restrictions right. I thought that resetting the policy would reset all of the rules and didn't realize I needed to do a flush first. Now that I think about it makes good sense to do it this way.

Re: Can't access aliased ip address

2002-01-03 Thread L Vogtmann
at my job!) I know this isn't much to add, but it is an idea to look at if other users might want pcanywhere access. (Mind you, I'm not very experienced with advanced routing configurations, but I'm fairly certain this is possible.) Find out the IP address of the user with DSL

Re: Can't access aliased ip address

2002-01-03 Thread Chad Morgan
On 2002.01.02 22:19 Jor-el wrote: > The hostnames in your prev. post were truncated and it was hard to guess > how the routing was setup. > Here is an easier to read routing table: Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 216.86.213.93

Re: Can't access aliased ip address

2002-01-03 Thread Jor-el
Chad, On Wed, 2 Jan 2002, Chad Morgan wrote: > > This doesn't appear to be the problem. When I ping ip address C, from > machine A (my computer at a remote location) tcpdump icmp -i eth0 yields > only a request. > However, once I ping ip address B from Machine A it will sho

Re: Can't access aliased ip address

2002-01-03 Thread Chad Morgan
> Chad, > > It sounds like you've fallen prey to the perils of assymmetric > routing. For simplicity, I'll refer to your ("my machine") external > server > to be machine A, eth0 to be ip-address B, and eth0:1 to be ip-address C. > Here is how th

Re: Can't access aliased ip address

2002-01-02 Thread Jor-el
is getting something but not answering. > > 11:31:07.232889 ca-brea2a-102.stmnca.adelphia.net > > adsl-gte-la-216-86-213-94.mminternet.com: icmp: echo request (DF) > Chad, It sounds like you've fallen prey to the perils of assymmetric routing. For simplicity, I'll

Re: Can't access aliased ip address

2002-01-02 Thread Jason M. Harvey
| > hello, | > | > if this person wants to use pcanywhere from home... which ip address is | > he using for pcanywhere to connect to? unless he's using some sort of | > vpn setup between home and work, he won't get to his office pc. | > are you running masquerading on the pc 216

Re: Can't access aliased ip address

2002-01-02 Thread Chad Morgan
On 2002.01.02 18:29 Jason M. Harvey wrote: > hello, > > if this person wants to use pcanywhere from home... which ip address is > he using for pcanywhere to connect to? unless he's using some sort of > vpn setup between home and work, he won't get to his office pc. >

Re: Can't access aliased ip address

2002-01-02 Thread Jason M. Harvey
hello, if this person wants to use pcanywhere from home... which ip address is he using for pcanywhere to connect to? unless he's using some sort of vpn setup between home and work, he won't get to his office pc. are you running masquerading on the pc 216.86.213.93? if the 196.168

Can't access aliased ip address

2002-01-02 Thread Chad Morgan
maintenance are more of issues than cost. Also, it isn't practical to just give that computer an external ip address because it is behind another hub on the 192 segment. Any assistance or advice would be greatly appreciated. Chad Morgan

Re: Message fron chron: cannot get ip address for localhost

2001-11-12 Thread Richard Cobbe
e "127.0.0.1 and the > "maranatha.chartermi.net" I will start getting "localhost" as the fqdn. Right. As I explain in my description of how the whole FQDN thing works (being sent in a separate message), your FQDN needs to be the first hostname on the line, immediately

Re: Message fron chron: cannot get ip address for localhost

2001-11-12 Thread Cheryl Homiak
Ok, fitst I checked and made sure I do have a dynamic isp. I do. Secondly, I now have got it to recognize my fqdn as maranatha.chartermi.net and my dnsdomainname as chartermi.net. However, if I put localhost in between the "127.0.0.1 and the "maranatha.chartermi.net" I will start getting "localhost

Re: Message fron chron: cannot get ip address for localhost

2001-11-11 Thread Richard Cobbe
ing is that it depends on the exact mechanism used to open the network connection. If your IP address is 1.2.3.4 and your routing table is fairly conventional, then all connections made to IP address 1.2.3.4 will, I believe, go out your normal network interface (typically eth0) and come bac

Re: Message fron chron: cannot get ip address for localhost

2001-11-11 Thread Richard Cobbe
Lo, on , November 11, Michael Heldebrant did write: > On Sun, 2001-11-11 at 13:31, Cheryl Homiak wrote: > > > > My /etc/hosts contains the following: > > 127.0.0.1 maranatha > > This is most likely the root of your problems. Your computer can't find > any reference to the localhost. > > Cha

Re: Message fron chron: cannot get ip address for localhost

2001-11-11 Thread Cheryl Homiak
Are you saying that dhcpcd can't be used with dynamic ips; my understanding was that dhcpcd and dhcp-client and pump were basically equivalent programs, or at least had equivalent purposes.

Re: Message fron chron: cannot get ip address for localhost

2001-11-11 Thread Michael Heldebrant
On Sun, 2001-11-11 at 16:48, Cheryl Homiak wrote: > Ok, I' didn't think I was supposed to have a static ip, but my internet > address acording to ifconfig has stayed the same; is that normal? It's a > different address, by the way, if I take out dhcpcd and use pump; I did > that to see what would h

Re: Message fron chron: cannot get ip address for localhost

2001-11-11 Thread Cheryl Homiak
Ok, I' didn't think I was supposed to have a static ip, but my internet address acording to ifconfig has stayed the same; is that normal? It's a different address, by the way, if I take out dhcpcd and use pump; I did that to see what would happen. Also, my nameservers in /etc/resolve.conf are both

Re: Message fron chron: cannot get ip address for localhost

2001-11-11 Thread Michael Heldebrant
On Sun, 2001-11-11 at 13:31, Cheryl Homiak wrote: > My /etc/hosts contains the following: > 127.0.0.1 maranatha This is most likely the root of your problems. Your computer can't find any reference to the localhost. Change this to: 127.0.0.1 localhost or 127.0.0.1 localhost maranatha A

Message fron chron: cannot get ip address for localhost

2001-11-11 Thread Cheryl Homiak
I need to get at the root of this problem because I am also having problems with my mail. I am able to get it with fetchmail, but I allways get errors about "smtp connection to localhost failed unable to raise listener falling back to /usr/sbin/sendmail " during the process. I am using fetchmail

Re: External IP Address

2001-09-01 Thread Rino Mardo
instead of doing it that way, which i should say is a novel approach, why not get a domain name registered for your box. check www.dyndns.org there you can register a domain like my-computer.dyndns.org even if you have a dynamic ip address. in short, your users don't have to find out what

Re: Re: External IP Address

2001-09-01 Thread Craig Dickson
Hereward Cooper wrote: > I know that, what i wanted was a system that would read the IP > address, write it to a file, upload the file to a webserver > somewhere, people then read the file, get my ip address and > login. Long-winded, but the only way i though of. Uh, why don't y

Re: Re: External IP Address

2001-09-01 Thread dman
On Sat, Sep 01, 2001 at 02:50:13PM +, Hereward Cooper wrote: | > /sbin/ifconfig | > will display the IP address of all interfaces | > | > It would be really hard for those people to ssh in and read | > that file | > unless they first knew the IP, in which case they wou

Re: Re: External IP Address

2001-09-01 Thread Hereward Cooper
> I'll attach a perl snippet that I used when on modem, > might give you some ideas. Stuff between ¤¤'s need to > be adapted - mainly account specific stuff. To make it > autoexecute on connection - just place it (with a > non-ignorable name) in /etc/ppp/ip-up.d > looks like just what i was wa

Re: Re: External IP Address

2001-09-01 Thread Hereward Cooper
> /sbin/ifconfig > will display the IP address of all interfaces > > It would be really hard for those people to ssh in and read > that file > unless they first knew the IP, in which case they wouldn't > need the > file ... I know that, what i wanted was a

Re: External IP Address

2001-09-01 Thread dman
On Sat, Sep 01, 2001 at 01:40:00PM +, Hereward Cooper wrote: | Hi, | How can I get my machine to automatically update a file with my | current dynamic IP address? Is there a enviroment varriable | which i can read it from, write it to a file, then upload it to | a hidden section of a public

External IP Address

2001-09-01 Thread Hereward Cooper
Hi, How can I get my machine to automatically update a file with my current dynamic IP address? Is there a enviroment varriable which i can read it from, write it to a file, then upload it to a hidden section of a public web site, so that selected people (who know where the file is) can use it to

Re: 1 IP Address on 2 Network Interfaces

2001-08-24 Thread Michael Heldebrant
On 24 Aug 2001 17:25:17 +0200, Walter Hofmann wrote: > On Fri, 24 Aug 2001, Jochem Vaartjes wrote: > > > before, but I can't figure out how to config such thing, any hints, help or > > suggestion?? > > I think the term for this is channel bonding. Maybe a search in the > archives will help. Yep

Re: 1 IP Address on 2 Network Interfaces

2001-08-24 Thread Walter Hofmann
On Fri, 24 Aug 2001, Jochem Vaartjes wrote: > before, but I can't figure out how to config such thing, any hints, help or > suggestion?? I think the term for this is channel bonding. Maybe a search in the archives will help. Walter

1 IP Address on 2 Network Interfaces

2001-08-24 Thread Jochem Vaartjes
Hello, I'm running a debian unstable/testing (up-to-date) with kernel 2.4.7. And I was wondering if it is possible to assign 1 IP Address to 2 Network Interfaces, so I can combine 2x 100Mbit. I know its possible i've seen it before, but I can't figure out how to config such thing,

RE: Apache on second ip address?

2001-08-03 Thread Kurt Lieber
> In apache (1.3 version) I have set the following directives: > > BindAddress x.x.x.23 > BindAddress x.x.x.249 > > ServerName x.x.x.23 > Listen x.x.x.249 Actually, if you're just trying to have the box serve up the exact same site on two IP addresses, then you should j

Re: Apache on second ip address?

2001-08-03 Thread Pietro Cagnoni
from an old > box with a x.x.x.247 address. > > I know very little about networking (I'm afraid everyone is accessing > the intranet via the full ip address rather than name), and I would like > to ask if it is possible to get the new box to run off both .23 and .247 > although

Apache on second ip address?

2001-08-03 Thread Rory Campbell-Lange
I'm moving our intranet onto a new box with address x.x.x.23 from an old box with a x.x.x.247 address. I know very little about networking (I'm afraid everyone is accessing the intranet via the full ip address rather than name), and I would like to ask if it is possible to get the new

Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread John Hasler
Wayne Topa writes: > If you used pppconfig/pon > plog Or even if you didn't. Plog is just #!/bin/sh if [ -s /var/log/ppp.log ]; then exec tail "$@" /var/log/ppp.log else exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\[' fi It doesn't care how pppd was started or configured. -- Jo

Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Wayne Topa
Subject: Determining IP address of my pc (dial up and/or cable modem) Date: Thu, May 24, 2001 at 08:35:57AM -0400 In reply to:Antonio Rodriguez Quoting Antonio Rodriguez([EMAIL PROTECTED]): > I know this must be a very stupid question (+/+) <<<< flaming myself

Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Martin Feeney
ifconfig ppp0 | grep 'inet addr:' | sed 's/.*inet addr:\([0-9.]*\).*/\1/g' If your connection is via ethernet, just swap ppp0 above with eth0 or eth1 or whatever. The above will return just the ip address. For more general information on your interfaces, just use ifconfig.

Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Petr \[Dingo\] Dvorak
On Thu, 24 May 2001, Christophe TROESTLER wrote: CT> On Thu, 24 May 2001, "Antonio Rodriguez" <[EMAIL PROTECTED]> wrote: CT> > CT> > I know this must be a very stupid question (+/+) <<<< flaming myself CT> > Any way: I am not sure how I can det

Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Christophe TROESTLER
On Thu, 24 May 2001, "Antonio Rodriguez" <[EMAIL PROTECTED]> wrote: > > I know this must be a very stupid question (+/+) <<<< flaming myself > Any way: I am not sure how I can determine the IP address of my > machine after I have a dialup connection estab

Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Sanjeev Gupta
On Thu, 24 May 2001, Antonio Rodriguez wrote: > I know this must be a very stupid question (+/+) <<<< flaming myself > Any way: I am not sure how I can determine the IP address of my machine > after I have a dialup connection established. Will the first ip given by mtr

Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Antonio Rodriguez
I know this must be a very stupid question (+/+) <<<< flaming myself Any way: I am not sure how I can determine the IP address of my machine after I have a dialup connection established. Will the first ip given by mtr be mine, or first machine connected to in network? How does it

Re: [users] RE: Aliasing an IP address? [semi-OT]

2001-05-12 Thread MaD dUCK
also sprach Matt Chipman (on Sat, 12 May 2001 10:23:56AM +1000): > Use windows hardware profiles. They are there for exactly this reason. He > will get a menu at boot asking if he is at work or home. he doesn't want to reboot. since windoze takes like 2.5 years... martin; (greeting

RE: Aliasing an IP address? [semi-OT]

2001-05-11 Thread Matt Chipman
@lists.debian.org Subject: Aliasing an IP address? [semi-OT] Hello people, Here's the thing: I have a small network at work (4 computers, each one using a 10.0.0.x address). The Debian server is 10.0.0.1. There's a notebook at 10.0.0.4. However, the guy with the notebook already has a small

Re: [users] Re: Aliasing an IP address? [semi-OT]

2001-05-11 Thread MaD dUCK
also sprach Oliver Elphick (on Fri, 11 May 2001 06:16:34PM +0100): > If the notebook is using a PCMCIA card to connect to the local network, > package pcmcia-cs contains a program, cardctl, which you can use to tell > the notebook which system you are attached to. but he's using windoze, isn't he?

Re: [users] Aliasing an IP address? [semi-OT]

2001-05-11 Thread MaD dUCK
also sprach Carlos Laviola (on Fri, 11 May 2001 01:31:22PM -0300): > Here's the thing: I have a small network at work (4 computers, each one > using a 10.0.0.x address). The Debian server is 10.0.0.1. There's a > notebook at 10.0.0.4. what's his home IP? is it in the same subnet? i.e. also a 10.0.

Re: Aliasing an IP address? [semi-OT]

2001-05-11 Thread Alan Shutko
"Robert L. Yelvington" <[EMAIL PROTECTED]> writes: > From what little I think I understand of what you're asking...why > wouldn't you consider DHCP? Agreed. Set up DHCP at work and tell him to set up DHCP at home. At which point, it's his problem. (Well, it's his problem already, but DHCP make

Re: Aliasing an IP address? [semi-OT]

2001-05-11 Thread Oliver Elphick
ady has a small network at home, >which he wouldn't like to change to suit the IP addresses of work. He also >doesn't like to always change the IP to 10.0.0.4 and wait for windows to >boot one more time before he can start actually working, so he'd like me >to, somehow, m

<    4   5   6   7   8   9   10   11   >