ip address
Hi, I just installed Debian Sarge, and by mistake I configured the NIC to DHCP. I don't want DHCP, how can I change the ip address from DHCP to a permanent static ip address? I tried already ifconfig eth0 ipaddress, it works, but the change is just temporary. When I reboot the computer, the NIC still picks up a DHCP address. Please Help Thanks Fernando -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ip address
Hi, I just installed Debian Sarge, and by mistake I configured the NIC to DHCP. I don't want DHCP, how can I change the ip address from DHCP to a permanent static ip address? without reloading the OS? I tried already "ifconfig eth0 ipaddress", it works, but the change is just temporary. When I reboot the computer, the NIC still picks up a DHCP address. I proceed to make changes in the interfaces file the interfaces file is: # This file describes the network information available on your system # and how to activate them. For more information, see interfaces(5) # The loopback network interface # auto lo # Iface lo inet loopback # The primary network interface # auto eth0 # Iface eth0 inet dhcp Iface eth0 inet static address 192.168.0.110 netmask 255.255.255.0 gateway 192.168.0.1 I also tried with a lowercase i in iface, the uppercase I in Iface was in the original interfaces file. After I made the changes I rebooted the computer, when the computer was up I logon on and type ifconfig, I don't get any information for the NIC. Then I proceed to use : ifconfig eth0 ipaddress , then I typed again ifocnfig, this time I got information for the NIC, but when I tried to ping yahoo.com I got unknown host. Please help. Fernando -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
IP address
I have Jessie set up for CLI only. The machine is on a local network using dhcp. What command will tell me what ip address it is using? Thanks, John -- John J. Boyer; President, AbilitiesSoft, Inc. http://www.abilitiessoft.org Madison, Wisconsin USA We develop software for people with disabilities which is abailable at no cost. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150717133259.gb1...@debian.abilitiessoft.org
Reconfigure IP address
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 debconf do what it does best. -- Michael Montagne [EMAIL PROTECTED] http://www.boora.com
External IP Address
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 SSH in to my box? Thanks, Hereward
IP address change
hello i need to change the IP and name of one machine which are the files i need to change? thanks a lot
dynamical IP address
Hi, My ISP uses dynamically assigned IP addresses for their clients. How can I discover my IP in each session? (I am trying with asp, but I am not successful...) Thanks in advance Marcelo -- Marcelo Chiapparini [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ip address
[EMAIL PROTECTED] wrote: >Hi, >I just installed Debian Sarge, and by mistake I configured the NIC to DHCP. I >don't want DHCP, how can I change the ip address from DHCP to a permanent >static ip address? I tried already ifconfig eth0 ipaddress, it works, but the >change is just temporary. When I reboot the computer, the NIC still picks up a >DHCP address. Please Help >Thanks > > > Edit "/etc/network/interfaces"; comment out the line "iface eth0 inet dhcp", and replace it with the two or three lines similar to what you find in "man interfaces": > iface eth0 inet static > address 192.168.1.10 > netmask 255.255.255.0 > gateway 192.168.1.1 Then either reboot or run "/etc/init.d/networking restart". -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ip address
[EMAIL PROTECTED] wrote: > Quoting Kent West <[EMAIL PROTECTED]>: > I already did these steps, I rebooted the computer and run ifconfig, but > nothing, I didn't get the information for the nic. What is wrong? > thanks again Please post the output of "ifconfig" and the contents of your "/etc/networking/interfaces" file. (Also, please keep posts on-list, for archival purposes as well as to allow the community to benefit/help. Also, top-posting is generally discouraged on this list.) -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ip address
On October 14, 2005 02:00 am, [EMAIL PROTECTED] wrote: Use this. # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 # Iface eth0 inet dhcp iface eth0 inet static address 192.168.0.110 netmask 255.255.255.0 gateway 192.168.0.1 And do not forget to make sure that you have your namesevers in the file /etc/resolv.conf the file looks like this. >$ cat /etc/resolv.conf nameserver 24.222.0.66 nameserver 24.222.0.91 You would of course change the numbers to those provided by your ISP or if you have a nameserver running its IP address. Stephen -- Debian the choice of a GNU generation GPG Public Key: http://users.eastlink.ca/~stephencormier/publickey.asc pgpXG397N5uXF.pgp Description: PGP signature
Re: ip address
Quoting Stephen Cormier <[EMAIL PROTECTED]>: It is working, thanks. I remark out the "auto eth0" in the Primary network interface thinking it had to do with the dhcp settings for the nic. Thanks again. Fernando On October 14, 2005 02:00 am, [EMAIL PROTECTED] wrote: Use this. # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 # Iface eth0 inet dhcp iface eth0 inet static address 192.168.0.110 netmask 255.255.255.0 gateway 192.168.0.1 And do not forget to make sure that you have your namesevers in the file /etc/resolv.conf the file looks like this. $ cat /etc/resolv.conf nameserver 24.222.0.66 nameserver 24.222.0.91 You would of course change the numbers to those provided by your ISP or if you have a nameserver running its IP address. Stephen -- Debian the choice of a GNU generation GPG Public Key: http://users.eastlink.ca/~stephencormier/publickey.asc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IP address
Hi, On 07/17/2015 03:32 PM, John J. Boyer wrote: > I have Jessie set up for CLI only. The machine is on a local network > using dhcp. What command will tell me what ip address it is using? ifconfig ? Kind regards, -- “One original thought is worth a thousand mindless quotings.” “Le vrai n'est pas plus sûr que le probable.” Diogene Laerce signature.asc Description: OpenPGP digital signature
Re: IP address
On Friday 17 July 2015 14:32:59 John J. Boyer wrote: > I have Jessie set up for CLI only. The machine is on a local network > using dhcp. What command will tell me what ip address it is using? $ ip addr HTH Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/201507171536.25726.lisi.re...@gmail.com
Re: IP address
On Fri 17 Jul 2015 at 08:32:59 -0500, John J. Boyer wrote: > I have Jessie set up for CLI only. The machine is on a local network > using dhcp. What command will tell me what ip address it is using? ifconfig -a -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/17072015153623.20a84f993...@desktop.copernicus.demon.co.uk
Re: IP address
John J. Boyer writes: I have Jessie set up for CLI only. The machine is on a local network using dhcp. What command will tell me what ip address it is using? $ ip addr Alexis. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/878uaeluew@gmail.com
Re: IP address
* John J. Boyer [2015-07-17 08:32 -0500]: > I have Jessie set up for CLI only. The machine is on a local network > using dhcp. What command will tell me what ip address it is using? $ dig +short `hostname -f` Elimar -- The path to source is always uphill! -unknown- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150717154127.ga2...@galadriel.home.lxtec.de
Re: IP address
On Jul 17, 2015 11:53 AM, "Elimar Riesebieter" wrote: > > * John J. Boyer [2015-07-17 08:32 -0500]: > > > I have Jessie set up for CLI only. The machine is on a local network > > using dhcp. What command will tell me what ip address it is using? > > $ dig +short `hostname -f` > Won't always work (I'd even go as far as to say it generally won't)
Re: IP address
John J. Boyer wrote: I have Jessie set up for CLI only. The machine is on a local network using dhcp. What command will tell me what ip address it is using? Thanks, John ifconfig -a is always a good one -- In theory, there is no difference between theory and practice. In practice, there is. Yogi Berra -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/55a93f03.2070...@meetinghouse.net
Re: IP address
None of these solutions work. ifconfig is not available on Jessie. ip seems to be inapropriate. dig produces nothing. I have used ifconfig on other distros. John On Fri, Jul 17, 2015 at 05:41:27PM +0200, Elimar Riesebieter wrote: > * John J. Boyer [2015-07-17 08:32 -0500]: > > > I have Jessie set up for CLI only. The machine is on a local network > > using dhcp. What command will tell me what ip address it is using? > > $ dig +short `hostname -f` > > Elimar > -- > The path to source is always uphill! > -unknown- > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: > https://lists.debian.org/20150717154127.ga2...@galadriel.home.lxtec.de -- John J. Boyer; President, AbilitiesSoft, Inc. http://www.abilitiessoft.org Madison, Wisconsin USA We develop software for people with disabilities which is abailable at no cost. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150717174959.ga3...@debian.abilitiessoft.org
Re: IP address
Le 17/07/2015 19:49, John J. Boyer a écrit : > None of these solutions work. ifconfig is not available on Jessie. ip > seems to be inapropriate. dig produces nothing. I have used ifconfig on > other distros. > > John > > On Fri, Jul 17, 2015 at 05:41:27PM +0200, Elimar Riesebieter wrote: >> * John J. Boyer [2015-07-17 08:32 -0500]: >> >>> I have Jessie set up for CLI only. The machine is on a local network >>> using dhcp. What command will tell me what ip address it is using? >> ifconfig is in package net-tools For ip , what is wrong with ip addr show ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/55a94196.7090...@rail.eu.org
Re: IP address
Why isn't ifconfig available on Jessie? There id no package. The command produces an error message that it has not been found. John On Fri, Jul 17, 2015 at 01:44:35PM -0400, Miles Fidelman wrote: > John J. Boyer wrote: > >I have Jessie set up for CLI only. The machine is on a local network > >using dhcp. What command will tell me what ip address it is using? > > > >Thanks, > >John > > > > ifconfig -a > is always a good one > > > -- > In theory, there is no difference between theory and practice. > In practice, there is. Yogi Berra > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject > of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: https://lists.debian.org/55a93f03.2070...@meetinghouse.net -- John J. Boyer; President, AbilitiesSoft, Inc. http://www.abilitiessoft.org Madison, Wisconsin USA We develop software for people with disabilities which is abailable at no cost. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150717175737.ga3...@debian.abilitiessoft.org
Re: IP address
Am Freitag, 17. Juli 2015, 12:49:59 schrieb John J. Boyer: > None of these solutions work. ifconfig is not available on Jessie. ip > seems to be inapropriate. dig produces nothing. I have used ifconfig on > other distros. > > John Hi John, just an idea. If you know a little bit about the range of the network (i.e. if you know at least , it is 192.168.), then you might try to scan the IP with a direct connection to the network card. Try nmap (either from a separate computer with a crossover cable) on the computer itself. Syntax: >From an other computer nmap -sP 192.168.*.* Hope this helps. Good luck! Hans -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/3347290.inHRHNVlte@protheus2
Re: IP address
On 17/07/15 18:49, John J. Boyer wrote: None of these solutions work. ifconfig is not available on Jessie. ip seems to be inapropriate. dig produces nothing. I have used ifconfig on other distros. I'm using DHCP at home, and it appears to me that the answer Lisi Reisz kindly provided you with is exactly what you want: $ ip addr 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether c8:60:00:e9:69:34 brd ff:ff:ff:ff:ff:ff inet 192.168.0.2/24 brd 192.168.0.255 scope global dynamic eth0 valid_lft 85953sec preferred_lft 85953sec inet6 fe80::ca60:ff:fee9:6934/64 scope link valid_lft forever preferred_lft forever This shows the MAC, IPv4, and IPv6 addresses associated with the lo (local loopback) and eth0 (zero'th ethernet) interfaces of my system. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/55a9431d.5090...@zen.co.uk
Re: IP address
Hi, On 07/17/2015 07:50 PM, John J. Boyer wrote: > None of these solutions work. ifconfig is not available on Jessie. ip > seems to be inapropriate. dig produces nothing. I have used ifconfig on > other distros. ifconfig is available if you install net-tools. And what do you mean with "ip seems to be inapropriate"? `ip addr` works fine here on Jessie. Cheers, Simon -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/mobftp$3at$1...@news.albasani.net
Re: IP address
On 07/17/2015 01:49 PM, John J. Boyer wrote: None of these solutions work. ifconfig is not available on Jessie. ip seems to be inapropriate. dig produces nothing. I have used ifconfig on other distros. John I think ifconfig isn't a package. By default on my Jessie systems it's under /sbin. If $ ifconfig -a doesn't work, then $ /sbin/ifconfig -a probably will. HTH, Jape -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/55a94554.2080...@comcast.net
Re: IP address
On Fri 17 Jul 2015 at 12:57:37 -0500, John J. Boyer wrote: > Why isn't ifconfig available on Jessie? There id no package. The > command produces an error message that it has not been found. brian@desktop:~$ dpkg -S ifconfig net-tools: /usr/share/man/pt_BR/man8/ifconfig.8.gz net-tools: /usr/share/man/fr/man8/ifconfig.8.gz net-tools: /sbin/ifconfig net-tools: /usr/share/man/man8/ifconfig.8.gz net-tools: /usr/share/man/de/man8/ifconfig.8.gz /sbin is not in your $PATH. Use '/sbin/ifconfig -a'. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/17072015191331.2f2d532bd...@desktop.copernicus.demon.co.uk
Re: IP address
> Am 17.07.2015 um 19:57 schrieb "John J. Boyer" : > > Why isn't ifconfig available on Jessie? There id no package. The > command produces an error message that it has not been found. > > John > >> On Fri, Jul 17, 2015 at 01:44:35PM -0400, Miles Fidelman wrote: >> John J. Boyer wrote: >>> I have Jessie set up for CLI only. The machine is on a local network >>> using dhcp. What command will tell me what ip address it is using? >>> >>> Thanks, >>> John >> >> ifconfig -a >> is always a good one >> >> >> -- >> In theory, there is no difference between theory and practice. >> In practice, there is. Yogi Berra >> >> >> -- >> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject >> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org >> Archive: https://lists.debian.org/55a93f03.2070...@meetinghouse.net > > -- > John J. Boyer; President, > AbilitiesSoft, Inc. > http://www.abilitiessoft.org > Madison, Wisconsin USA > We develop software for people with disabilities which is abailable at > no cost. > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: > https://lists.debian.org/20150717175737.ga3...@debian.abilitiessoft.org > Often ifconfig can only be used via sudo or as root. User do can use ifconfig in terminal with /sbin/ifconfig . If not installed, the package is net-tools . Gruß, Michael Beck -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/11dd95b0-3d09-4c6e-8e1b-4ff85b666...@gmail.com
Re: IP address
I have net-tools. ifconfig works only for root. WHY? On other distros ordinary users can use it. John On Fri, Jul 17, 2015 at 08:01:29PM +0200, Simon Brandmair wrote: > Hi, > > On 07/17/2015 07:50 PM, John J. Boyer wrote: > > None of these solutions work. ifconfig is not available on Jessie. ip > > seems to be inapropriate. dig produces nothing. I have used ifconfig on > > other distros. > > ifconfig is available if you install net-tools. > And what do you mean with "ip seems to be inapropriate"? `ip addr` works > fine here on Jessie. > > Cheers, > Simon > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: https://lists.debian.org/mobftp$3at$1...@news.albasani.net -- John J. Boyer; President, AbilitiesSoft, Inc. http://www.abilitiessoft.org Madison, Wisconsin USA We develop software for people with disabilities which is abailable at no cost. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150717182535.ga3...@debian.abilitiessoft.org
Re: IP address
> I have Jessie set up for CLI only. […] > What command will tell me what ip address it is using? ip address works fine: ip address show scope global | sed -r -n 's|^ *inet6? ([^ /]*).*$|\1|p' -- Gabriel -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150717183021.GA14940@marvin
Re: IP address
On Fri, Jul 17, 2015 at 2:25 PM, John J. Boyer wrote: > I have net-tools. ifconfig works only for root. WHY? On other distros > ordinary users can use it. You haven't been listening to what others have been telling you. ifconfig resides in sbin, which is in root's but not the ordinary user's path. So either use '/sbin/ifconfig' or 'sudo ifconfig' as an ordinary user, or su to root and run ifconfig. Patrick -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAJVvKsPWh+CpVWaeBh+JVNWfTUK=iw1n+5l3ibif+92cmzc...@mail.gmail.com
Re: IP address
On Fri 17 Jul 2015 at 13:25:35 -0500, John J. Boyer wrote: > I have net-tools. ifconfig works only for root. WHY? On other distros > ordinary users can use it. That's a change of tack! It started with "I cannot find a file but on other distros users are more capable" and has now become "ifconfig works only for root", which is a demonstrable nonsense. After so many responses to your question your only reply is "thank you". -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/17072015193430.808aefb05...@desktop.copernicus.demon.co.uk
Re: IP address
On 7/17/15, Jape Person wrote: > > I think ifconfig isn't a package. > > By default on my Jessie systems it's under /sbin. > > If > > $ ifconfig -a > > doesn't work, then > > $ /sbin/ifconfig -a > > probably will. Ah-HA! I usually remember to try going that route if something suggested here doesn't work right offhand. Didn't remember this time. Trying it as root just now worked. Regular user gets the "bash: ifconfig: command not found" error message. :) Cindy -- Cindy-Sue Causey Talking Rock, Pickens County, Georgia, USA * runs with plastic sporks * -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAO1P-kBOybJNSDcvvObkafo-oVNFdhV3_Z96=nv5mjet9gy...@mail.gmail.com
Re: IP address
On Fri 17 Jul 2015 at 14:47:09 -0400, Cindy-Sue Causey wrote: > On 7/17/15, Jape Person wrote: > > > > I think ifconfig isn't a package. > > > > By default on my Jessie systems it's under /sbin. > > > > If > > > > $ ifconfig -a > > > > doesn't work, then > > > > $ /sbin/ifconfig -a > > > > probably will. > > > Ah-HA! I usually remember to try going that route if something > suggested here doesn't work right offhand. Didn't remember this time. > Trying it as root just now worked. Regular user gets the "bash: > ifconfig: command not found" error message. :) When you used '/sbin/ifconfig -a' you were not root. What makes you think you were? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/17072015195140.942344a67...@desktop.copernicus.demon.co.uk
Re: IP address
On Friday 17 July 2015 18:49:59 John J. Boyer wrote: > ip > seems to be inapropriate. Why is $ip addr inappropriate for finding out the IP address of an interface? Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/201507171956.12400.lisi.re...@gmail.com
Re: IP address
Miles Fidelman writes: > ifconfig -a > is always a good one Yes but depending on how your path is set it may not simply work. Martin McCormick -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150717191057.cb60322...@server1.shellworld.net
(Solved) ip address
Thanks for all of your answers. The problem was that ifconfig is in sbin not bin. No problem now. John -- John J. Boyer; President, AbilitiesSoft, Inc. http://www.abilitiessoft.org Madison, Wisconsin USA We develop software for people with disabilities which is abailable at no cost. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150717210940.gb4...@debian.abilitiessoft.org
Re: ip address
Quoting John J. Boyer (john.bo...@abilitiessoft.org): > Thanks for all of your answers. The problem was that ifconfig is in sbin > not bin. I think you're better off forgetting about ifconfig and using ip in its place; that's the direction things are heading. From Packages: Package: iproute2 ... Description: networking and traffic control tools The iproute2 suite is a collection of utilities for networking and traffic control. . These tools communicate with the Linux kernel via the (rt)netlink interface, providing advanced features not available through the legacy net-tools commands 'ifconfig' and 'route'. Cheers, David. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150718002545.GA10052@alum
Re: ip address
On Fri, 17 Jul 2015, David Wright wrote: I think you're better off forgetting about ifconfig and using ip in its place; Ach du Lieber Himmel! You will have to pry ifconfig out of my cold dead fingers! that's the direction things are heading. Of course David I am no one to gainsay your typically wise stance on this matter, EXCEPT that other unices (I just checked NetBSD, for example) do not have an "ip" command but retain our old unix friend and companion, ifconfig. SO, if one's life quest can be fulfilled always sitting at a Linux prompt -- AND NO OTHER UNIX -- then, in the inimitable words of H. L. Mencken: "You may be right." :-) -- I am not a loony. Why should I be tarred with the epithet 'loony' merely because I have a pet halibut? I've heard tell that Sir Gerald Nabarro has a pet prawn called Simon - you wouldn't call him a loony! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/nycvar.QRO.7.75.3.1507172054040.23497@arjgebyy.ybpnyqbznva
Re: IP address
On Fri, 17 Jul 2015, Hans wrote: If you know a little bit about the range of the network (i.e. if you know at least , it is 192.168.), then you might try to scan the IP with a direct connection to the network card. Try nmap (either from a separate computer with a crossover cable) on the computer itself. Syntax: Dear Hans, Please tell me you are not SERIOUSLY suggesting that nmap be placed in the hands of a beginner who has yet to learn the basics of paths and packages! Fortunately, in their wisdom, the author(s) of nmap have reserved the package's most powerful functions for superuser only. -- I am not a loony. Why should I be tarred with the epithet 'loony' merely because I have a pet halibut? I've heard tell that Sir Gerald Nabarro has a pet prawn called Simon - you wouldn't call him a loony! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/nycvar.QRO.7.75.3.1507172111080.23497@arjgebyy.ybpnyqbznva
Re: IP address
On Fri, 17 Jul 2015, Martin G. McCormick wrote: Yes but depending on how your path is set it may not simply work. NO. There ought to be no monkeying EVA with the default PATHs (for root and other users) created by the authors of Linux and Unix. Period. (Which is why the wheel group ought to be brought back in Linux.) Boy, I am one cranky SOB tonight, huh? But it seems to me that nobody anymore feels the need to read something "Linux for Dummies" before piling onto this list (and others!) in order to espouse their well-considered albeit bonehead opinions. -- I am not a loony. Why should I be tarred with the epithet 'loony' merely because I have a pet halibut? I've heard tell that Sir Gerald Nabarro has a pet prawn called Simon - you wouldn't call him a loony! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/nycvar.QRO.7.75.3.1507172120300.23497@arjgebyy.ybpnyqbznva
Re: ip address
Quoting Bob Bernstein (poo...@ruptured-duck.com): > On Fri, 17 Jul 2015, David Wright wrote: > > >I think you're better off forgetting about ifconfig and using ip > >in its place; > > Ach du Lieber Himmel! You will have to pry ifconfig out of my cold > dead fingers! > > >that's the direction things are heading. > > Of course David I am no one to gainsay your typically wise stance on > this matter, You don't know how much you flatter me. > EXCEPT that other unices (I just checked NetBSD, for > example) do not have an "ip" command but retain our old unix friend > and companion, ifconfig. Perfectly correct. I have no idea if linux is leading the van here, or going off on a separate tack. > SO, if one's life quest can be fulfilled always sitting at a Linux > prompt -- AND NO OTHER UNIX -- then, in the inimitable words of H. > L. Mencken: > > "You may be right." > > :-) I made a judgment call on the likelihood of the OP being a unix user, safe in the knowledge that this is in any case a Debian linux list. (It's left as an exercise for others to work out the proportion of this list that applies across all unices.) Cheers, David. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150718015908.GC10052@alum
Re: IP address
On Fri, Jul 17, 2015 at 09:27:04PM -0400, Bob Bernstein wrote: > On Fri, 17 Jul 2015, Martin G. McCormick wrote: > > >Yes but depending on how your path is set it may not simply work. > > NO. > > There ought to be no monkeying EVA with the default PATHs (for root > and other users) created by the authors of Linux and Unix. Period. > (Which is why the wheel group ought to be brought back in Linux.) > > Boy, I am one cranky SOB tonight, huh? But it seems to me that > nobody anymore feels the need to read something "Linux for Dummies" > before piling onto this list (and others!) in order to espouse their > well-considered albeit bonehead opinions. I find that a bizarre attitude. The point of having a user-settable PATH is to monkey with it on demand. If we didn't want that, it would be inherited from the system default and be immutable. Should users add /usr/sbin and /sbin to their PATHs when they find themselves in need of using those tools often? Sure. Is it common enough to make it the default for new users? No. -dsr- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150718123142.gq4...@randomstring.org
Re: ip address
On Fri, 17 Jul 2015 19:25:45 -0500 David Wright wrote: > Quoting John J. Boyer (john.bo...@abilitiessoft.org): > > Thanks for all of your answers. The problem was that ifconfig is in sbin > > not bin. > > I think you're better off forgetting about ifconfig and using ip in > its place; that's the direction things are heading. From Packages: > > Package: iproute2 > ... > Description: networking and traffic control tools > The iproute2 suite is a collection of utilities for networking and > traffic control. > . > These tools communicate with the Linux kernel via the (rt)netlink > interface, providing advanced features not available through the > legacy net-tools commands 'ifconfig' and 'route'. > > Cheers, > David. > > the output of ip is a bit of a mess. valid_lft forever preferred_lft forever what the hell ? i have no idea what tha means. i know i'll do man ip, it's probably got an explanation. no. it doesn't. ifconfig output is much easier to look at. too bad that it's defaulted to /sbin because it would definitely be easier for a noobie to understand. but that's just my, uh, opinion, man... Brian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150718072529.5d8d8...@cedar.deldotd.com
Re: ip address
On 18/07/15 15:25, bri...@aracnet.com wrote: the output of ip is a bit of a mess. valid_lft forever preferred_lft forever what the hell ? i have no idea what tha means. i know i'll do man ip, it's probably got an explanation. no. it doesn't. It's saying that the valid and preferred remaining LiFeTimes for that address assignment are "forever", probably because they have been statically assigned. Compare this to a DHCP-assigned address record, which might say something like: inet 192.168.0.2/24 brd 192.168.0.255 scope global dynamic eth0 valid_lft 86291sec preferred_lft 86291sec It would be entirely reasonable to file a bug against the man page ip-address(8) for not explaining the output more clearly. (That man page has some other issues anyway, like not having had its header and footer changed properly when it was clone-and-hacked from ip-route(8).) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/55aa67bd.3070...@zen.co.uk
Re: ip address
bri...@aracnet.com a écrit : > > the output of ip is a bit of a mess. > > valid_lft forever preferred_lft forever > > what the hell ? i have no idea what tha means. It is specific to IPv6 addresses. When an interface gets IPv6 addresses assigned by stateless address autoconfiguration (SLAAC) from router advertisements (RA), such addresses have limited lifetimes. The initial values are set from values contained in the RA. The valid lifetime is the length of time in seconds the address remains valid. Th preferred lifetime is the length of time in seconds the address remains preferred, i.e. used for new communications. Both lifetimes are refreshed when receiving a new RA. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/55aa6a26.3050...@plouf.fr.eu.org
Re: IP address
"John J. Boyer" writes: > None of these solutions work. ifconfig is not available on Jessie. ip > seems to be inapropriate. dig produces nothing. I have used ifconfig on > other distros. > > John > > On Fri, Jul 17, 2015 at 05:41:27PM +0200, Elimar Riesebieter wrote: >> * John J. Boyer [2015-07-17 08:32 -0500]: >> >> > I have Jessie set up for CLI only. The machine is on a local network >> > using dhcp. What command will tell me what ip address it is using? >> >> $ dig +short `hostname -f` I'd be really surprised if there were no ifconfig on your system. Maybe a path issue? Try /sbin/ifconfig What do you mean when you say "inappropriate"? -- "Erwin, have you seen the cat?" -- Mrs. Shrödinger -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1bd1zpa4or@pfeifferfamily.net
Re: IP address
"John J. Boyer" writes: > Why isn't ifconfig available on Jessie? There id no package. The > command produces an error message that it has not been found. > > John > > On Fri, Jul 17, 2015 at 01:44:35PM -0400, Miles Fidelman wrote: >> John J. Boyer wrote: >> >I have Jessie set up for CLI only. The machine is on a local network >> >using dhcp. What command will tell me what ip address it is using? >> >> ifconfig -a >> is always a good one ifconfig is in the net-tools package. -- "Erwin, have you seen the cat?" -- Mrs. Shrödinger -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1b8uada4l3@pfeifferfamily.net
Re: IP address
Patrick Wiseman writes: > On Fri, Jul 17, 2015 at 2:25 PM, John J. Boyer > wrote: >> I have net-tools. ifconfig works only for root. WHY? On other distros >> ordinary users can use it. > > You haven't been listening to what others have been telling you. > ifconfig resides in sbin, which is in root's but not the ordinary > user's path. So either use '/sbin/ifconfig' or 'sudo ifconfig' as an > ordinary user, or su to root and run ifconfig. While suggestions of running it as root will work, it strikes me as a bad habit to get into (running things as root that don't have to be). Using the full path will work without running the command as root, so it seems like a better solution to me. -- "Erwin, have you seen the cat?" -- Mrs. Shrödinger -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1b4ml1a4fz@pfeifferfamily.net
Re: ip address
Quoting bri...@aracnet.com (bri...@aracnet.com): > On Fri, 17 Jul 2015 19:25:45 -0500 > David Wright wrote: > > > Quoting John J. Boyer (john.bo...@abilitiessoft.org): > > > Thanks for all of your answers. The problem was that ifconfig is in sbin > > > not bin. > > > > I think you're better off forgetting about ifconfig and using ip in > > its place; that's the direction things are heading. From Packages: > > > > Package: iproute2 > > ... > > Description: networking and traffic control tools > > The iproute2 suite is a collection of utilities for networking and > > traffic control. > > . > > These tools communicate with the Linux kernel via the (rt)netlink > > interface, providing advanced features not available through the > > legacy net-tools commands 'ifconfig' and 'route'. > > the output of ip is a bit of a mess. > > valid_lft forever preferred_lft forever > > what the hell ? i have no idea what tha means. i know i'll do man ip, it's > probably > got an explanation. no. it doesn't. To be fair, ip is hardly the only command whose man page documents the command line input in detail but says little about the meaning of the output. Twenty years ago this could be a bit of a showstopper but now we just google. > ifconfig output is much easier to look at. But much harder to parse. And ip's -o switch makes it even easier because each item is all on one line. Cheers, David. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150718163948.GB8297@alum
Re: IP address
On Sat, 18 Jul 2015, Dan Ritter wrote: I find that a bizarre attitude. I'm so sorry. I hope the experience was not too uncomfortable for you. Please forgive me. I have many personal shortcomings, and frequent descents into bizarro-world figures prominently in any comprehensive list of them. As for the _substance_ of your reply, again, all I can say is: "You may be right." -- I am not a loony. Why should I be tarred with the epithet 'loony' merely because I have a pet halibut? I've heard tell that Sir Gerald Nabarro has a pet prawn called Simon - you wouldn't call him a loony! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/nycvar.QRO.7.75.3.1507181446180.23497@arjgebyy.ybpnyqbznva
Re: ip address
On Saturday 18 July 2015 17:39:48 David Wright wrote: > And ip's -o switch makes it even easier > because each item is all on one line. For some, possibly idiosyncratic, meanings of the word "easier". ;-) Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/201507182135.43219.lisi.re...@gmail.com
Changing IP address
Hello, I just changed my IP and as a result, I now have new IP addresses. How do I go about changing the IP address of my machine? I will need to change the DNS as well... Also, I use SAMBA and I can't remember if I had any changes to be done there. If you know what is involved in this, please point me in the right direction! :) Thanks, Doug
Static ip address
I have just arranged to get a static ip address from my isp. Does this mean I should now reinstall debian as though I were on a network? also what do I change in my ppp configuration to account for the static address. And lastly this isp uses an automatic ppp so there is no login script ( although oddly I can telnet into a shell.) I am not not used to this. What changes do I need to make to accomodate my new isp service. Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Strange IP address...
Hello, I have recently installed the beta version of Debian on a Gateway that is connected on an intranet at work. (The installation was flawless by the way.) I have recompiled the kernel and added all the network support and apache as I will be running an intranet-based website with teaching files for radiology residents. It is actually pretty cool, we save the images in bitmap form and using MS Frontpage very quickly write teaching files. The doctors in the hospital can then view the images with netscape. Anyway, the intranet is a Window NT net and while goofing around I discovered that my machine has two IP addresses. One is the one assigned, 172.16.18.5 and the other is 127.0.0.1. I think I have gone through all the config files in /etc and I can't find out where this address is being sent out from. When I reboot with just the Windows for Workgroups the address disappears so I am assuming it is an artifact of one of the network items I installed on the Linux side. Can someone tell me which package has this generic address and where I can find it and kill it? Regards, Craig
mistypes IP-address
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-interface, apart from being more carefull next time. And, since it is a Debian system, is there a tasksel-option for this? Thank you all in advance. Frank. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Strange LAN IP Address.
I have my principle Debian Stretch platform on the LAN in our home. Two towers (both Linux platforms) and a HP Printer have wired connections, my Win 10 Laptop and two Android smartphones use WiFi connections. This morning when I When I tried using WinSCP on the Laptop to transfer a file from the principle Linux platform the connection attempt failed! When I ran ifconfig on the Linux platform it showed the unet connection to be 162.237.98.238!!? The LAN modem employs DCHP set with allowed IP range as 192.168.1.64 through 192.168.1.253, which was set by the T&T installer when we switched to a fiber optic network. Further examination of the modem settings showed IP Passthrough status as on (Public IP Address), which was, in fact the IP. I spent 40 minutes, on hold for 28 of those minutes, with an AT&T UVVerse technical () person without hearing any reasons why the IP was what it was. Note the tense at the end of the above sentence, because subsequent rebooting the modem restored the IP address to the correct DHCP range. I suppose the moral of this - first reboot the modem. The question that I have, however, is how did this happen in the first place? Or is the reason lost in the black hole of the Internet? Is this indicative of a hardware problem? Thanks in advance. -- Stephen P. Molnar, Ph.D. Consultant www.molecular-modeling.net (614)312-7528 (c) Skype: smolnar1
get my ip address
Hi all, Debian 9. I need to read my IPv6 address into a python script. I am aware that I can call ip a and parse the result. The parsing, whilst quite achievable, is slightly tricky, but I can manage the RE, so that's not my question. Is there any other way to obtain this data, maybe from /sys? Cheers, Tony.
Re: Reconfigure IP address
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/network/interfaces. The warnings seem to imply that I should let > debconf do what it does best. I edited /etc/network/interfaces by hand before I even heard of dpkg-reconfigure. Here's my interfaces, from when I converted from static to dhcp. You'd just have to change the "dhcp" to "static", uncomment out the specifics, and change them to what ever your ISP says. $ cat /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp # address 24.181.111.92 # netmask 255.255.255.0 # network 24.181.111.0 # broadcast 24.181.111.255 # gateway 24.181.111.1 -- ++ | Ron Johnson, Jr.Home: [EMAIL PROTECTED]| | Jefferson, LA USA http://ronandheather.dhs.org:81| || | "(Women are) like compilers. They take simple statements | | and make them into big productions." | | Pitr Dubovitch | ++
Re: Reconfigure IP address
* 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 need to do is change the "dhcp" to "static" and add whatever else you need, like your address, netmask, gateway, etc. man interfaces should tell you all about it. good times, Vineet -- Currently seeking opportunities in the SF Bay Area Please see http://www.doorstop.net/resume/ pgpuYUIXKRzan.pgp Description: PGP signature
RE: Reconfigure IP address
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 me to work a few times but it doesn't recognize the DHCP server that we have there. -Original Message- From: Ron Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 13, 2002 3:38 AM To: [EMAIL PROTECTED] Subject: RE: Reconfigure IP address On Tue, 2002-03-12 at 21:11, Nicholas Imfeld wrote: > I'm having some issues with DHCP/Static IP that fits in with this. When > I installed Debian the setup couldn't detect my DHCP server so I put > static values in temporarily. Then later I added lines to the > /etc/network/interfaces file. It looks exactly like the one below. I > can get onto my network just fine, but it seems like it never gave up > its static ip. Is there some other place where it stores its network > data that needs to be modified? Any thoughts would be appreciated. Try the log file /var/dhcp/dhclient.leases Also, maybe your ISP just hasn't changed your IP address. Under [EMAIL PROTECTED], I had the same IP for a year, and now that @Home has disolved, and after some initial "uncertainty", I've had the same IP now for a month. > -Original Message- > From: Ron Johnson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 12, 2002 7:32 PM > To: debuser > Subject: Re: Reconfigure IP address > > 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/network/interfaces. The warnings seem to imply that I should let > > debconf do what it does best. > > I edited /etc/network/interfaces by hand before I even heard of > dpkg-reconfigure. Here's my interfaces, from when I converted > from static to dhcp. You'd just have to change the "dhcp" to > "static", uncomment out the specifics, and change them to what > ever your ISP says. > > $ cat /etc/network/interfaces > auto lo > iface lo inet loopback > auto eth0 > iface eth0 inet dhcp > # address 24.181.111.92 > # netmask 255.255.255.0 > # network 24.181.111.0 > # broadcast 24.181.111.255 > # gateway 24.181.111.1 -- ++ | Ron Johnson, Jr.Home: [EMAIL PROTECTED]| | Jefferson, LA USA http://ronandheather.dhs.org:81| || | "(Women are) like compilers. They take simple statements | | and make them into big productions." | | Pitr Dubovitch | ++
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 - 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 me to > work a few times but it doesn't recognize the DHCP server that we have > there. Hmmm. What dhcp client are you using? I use dhcp-client 2.0pl5-7. Note that I've heard bad things about debian's pump, and never got it working. > -Original Message- > From: Ron Johnson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 13, 2002 3:38 AM > To: [EMAIL PROTECTED] > Subject: RE: Reconfigure IP address > > On Tue, 2002-03-12 at 21:11, Nicholas Imfeld wrote: > > I'm having some issues with DHCP/Static IP that fits in with this. > When > > I installed Debian the setup couldn't detect my DHCP server so I put > > static values in temporarily. Then later I added lines to the > > /etc/network/interfaces file. It looks exactly like the one below. I > > can get onto my network just fine, but it seems like it never gave up > > its static ip. Is there some other place where it stores its network > > data that needs to be modified? Any thoughts would be appreciated. > > Try the log file /var/dhcp/dhclient.leases > > Also, maybe your ISP just hasn't changed your IP address. > Under [EMAIL PROTECTED], I had the same IP for a year, and now that > @Home has disolved, and after some initial "uncertainty", > I've had the same IP now for a month. > > > -Original Message- > > From: Ron Johnson [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 12, 2002 7:32 PM > > To: debuser > > Subject: Re: Reconfigure IP address > > > > 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/network/interfaces. The warnings seem to imply that I should > let > > > debconf do what it does best. > > > > I edited /etc/network/interfaces by hand before I even heard of > > dpkg-reconfigure. Here's my interfaces, from when I converted > > from static to dhcp. You'd just have to change the "dhcp" to > > "static", uncomment out the specifics, and change them to what > > ever your ISP says. > > > > $ cat /etc/network/interfaces > > auto lo > > iface lo inet loopback > > auto eth0 > > iface eth0 inet dhcp > > # address 24.181.111.92 > > # netmask 255.255.255.0 > > # network 24.181.111.0 > > # broadcast 24.181.111.255 > > # gateway 24.181.111.1 -- ++ | Ron Johnson, Jr.Home: [EMAIL PROTECTED]| | Jefferson, LA USA http://ronandheather.dhs.org:81| || | "(Women are) like compilers. They take simple statements | | and make them into big productions." | | Pitr Dubovitch | ++
Re: External IP Address
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 web site, so that selected people | (who know where the file is) can use it to SSH in to my box? /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 ... Instead, check out ddt.sourceforge.net. It is a project that provides a client utility that will update their server so you can have a domain even though you have a dynamic IP. Then you don't need to know the IP anymore. -D
Re: External IP Address
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 your current ip address is. just remember the name. hth. - Original Message - From: Hereward Cooper <[EMAIL PROTECTED]> To: Sent: Saturday, September 01, 2001 9:40 PM Subject: External IP Address > 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 SSH in to my box? > > Thanks, > > Hereward > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Losing static ip address
Running Debian etch without problems for some time - in a simple setup connecting via a static local ip address (192.168.0.10) through a NAT DSL (Linksys) "router." Recently, though, and seemingly ad-hoc, the Debian box has been losing its static ip and picking up a dynamic ip address (from the DSL router's DHCP server). From /etc/network/interfaces... auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.0.10 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 # dns-* options are implemented by the resolvconf package... dns-nameservers 208.201.224.11 208.201.224.33 dns-search localdomain I can restart the network, and the static ip gets restored - only to be dropped again at some unpredictable time (usually seems to happen only after hours or days have passed). Any ideas as to why the static ip is being dropped and replaced by a DHCP call would be much appreciated. Jeff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Changing public IP Address
Hi all, I currently have an iptables firewall for our DSL line. My ISP informed me that I need to change my public IP address by the end of month because AT&T is taking back a big block of addresses. I have all of the new information (gateway, new IP address, DNS servers, etc.). I host Web sites and email so my question is can I make the public IP address change without a loss of service? Here is what I am currently thinking of doing: 1) Add new IP address to eth0 on the firewall 2) Configure the firewall to route the new address traffic like it does the old address traffic 3) Create new DNS records for all domains that I host to point to the new IP address 4) Pray it all works! My concerns are the following: 1) Will I be able to use two gateway addresses on eth0? (So that I don't have traffic come in on one address and try to exit on the other) 2) My DSL "modem" is just acting as a pass-through bridge. Will I run into problems using one physical line between my DSL modem and my firewall for both sets of traffic (new and old IP addresses)? What hints or pointers can you give me? I'm currently digging through "multihomed" firewall information, but I don't see anything that speaks about using just one Internet link and one network card to accomplish what I'm after. Thanks a bunch! -- Travis Crook Visions Beyond www.VisionsBeyond.com 208-478-7836 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IP address change
On Fri, 26 Nov 1999, luis wrote: luis >i need to change the IP and name of one machine usually, /etc/init.d/network for the ip/network info and /etc/hostname for the name of the machine (this can be changed without a reboot ..) nate [mailto:[EMAIL PROTECTED] ]-- Vice President Network Operations http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336http://www.linuxpowered.net/ Powered By:http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/ -[mailto:[EMAIL PROTECTED] ]-- 4:28pm up 99 days, 4:06, 1 user, load average: 2.01, 1.85, 1.70
Re: IP address change
A long time ago, in a galaxy far, far way, someone said... > On Fri, 26 Nov 1999, luis wrote: > > luis >i need to change the IP and name of one machine > > usually, /etc/init.d/network for the ip/network info > and /etc/hostname for the name of the machine > > (this can be changed without a reboot ..) Don't forget to update /etc/hosts, otherwise strange things will happen when you do reboot. -- -- Phil Brutsche [EMAIL PROTECTED] "There are two things that are infinite; Human stupidity and the universe. And I'm not sure about the universe." - Albert Einstein
Re: IP address change
also don't forget /etc/networks On Fri, 26 Nov 1999, Phil Brutsche wrote: > A long time ago, in a galaxy far, far way, someone said... > > > On Fri, 26 Nov 1999, luis wrote: > > > > luis >i need to change the IP and name of one machine > > > > usually, /etc/init.d/network for the ip/network info > > and /etc/hostname for the name of the machine > > > > (this can be changed without a reboot ..) > > Don't forget to update /etc/hosts, otherwise strange things will happen > when you do reboot. > > -- > -- > Phil Brutsche [EMAIL PROTECTED] > > "There are two things that are infinite; Human stupidity and the > universe. And I'm not sure about the universe." - Albert Einstein > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >
Re: Dynamic IP Address
Michael Boyd wrote: > 1. I obtain a dynamic IP address from my ISP. How can I include this in > my ruleset? I have experimented with... > Here is what I use: IPADDR=`ifconfig $EXT_IF | grep inet | cut -d : -f 2 | cut -d \ -f 1` > > I was thinking of having a small ruleset denying > everything on the external interface as part of the boot sequence then > sticking with my more detailed ruleset when the ppp connection is > established. Any comments? How would I invoke the smaller ruleset? Here is what I do: I have a script called /etc/init.d/firewall_deny Here it is: #!/bin/sh # /etc/init.d/firewall_deny # --- # This firewall is started at boot up so that everything is protected until # the actual firewall is started with the ip-up script. If for some reason # the ppp connection was established without the definitive firewall loaded # then this firewall will block everything. logger Starting Temporary Deny Everything Firewall LOOPBACK_IF="lo" EXT_IF="ppp0" # Enable TCP SYN Cookie Protection echo 1 > /proc/sys/net/ipv4/tcp_syncookies # Enable always defragging Protection echo 1 > /proc/sys/net/ipv4/ip_always_defrag # Enable broadcast echo Protection echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts # Enable bad error message Protection echo 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses # Enable IP spoofing protection # turn on Source Address Verification for f in /proc/sys/net/ipv4/conf/*/rp_filter; do echo 1 > $f done # Disable ICMP Redirect Acceptance for f in /proc/sys/net/ipv4/conf/*/accept_redirects; do echo 0 > $f done for f in /proc/sys/net/ipv4/conf/*/send_redirects; do echo 0 > $f done # Disable Source Routed Packets for f in /proc/sys/net/ipv4/conf/*/accept_source_route; do echo 0 > $f done # Log Spoofed Packets, Source Routed Packets, Redirect Packets for f in /proc/sys/net/ipv4/conf/*/log_martians; do echo 1 > $f done # Flush any existing rules from all chains and delete any user chains ipchains -F ipchains -X # Set the default policy to deny ipchains -P input DENY ipchains -P output REJECT ipchains -P forward REJECT # # LOOPBACK # # Unlimited traffic on the loopback interface ipchains -A input -i $LOOPBACK_INTERFACE -j ACCEPT ipchains -A output -i $LOOPBACK_INTERFACE -j ACCEPT logger Tempory Deny Everything firewall installed exit 0 Then I have a symbolic link to this file in my /etc/rc2.d/ directory. Create this symbolic link with: ln -s /etc/init.d/firewall_deny /etc/rc2.d/S95firewall This means that the script will be run on booting into the default runlevel 2 (assuming you boot into runlevel 2) > > The alternative is to start the detailed ruleset on boot. But then, how > do I tell it the dynamic IP address? > > 3. Do dynamic IP addresses ever get changed during a session? Something > I read seemed to suggest this might occur. If so, how do I overcome > that? > Then you put a link to your real firewall in the directory /etc/ppp/ip-up.d/ eg. with this command: #ln -s /etc/init.d/myfirewall /etc/ppp/ip-up.d/0myfirewall The way it works is that the files in this directory are executed in order by the /etc/ppp/ip-up script. Take a look at that script - particularly the last line and the man page for run-parts Make sure that the first part of your firewall script includes lines like: iptables -F iptables -X so that the rules set up by the initial firewall are deleted when the real firewall is installed. This means that when you run the script to connect to the internet with your modem eg. "pon provider1" it will run your firewall script after the 0dns-up script (which is also in the above directory). Don't forget to use the line for getting your ipaddress. Hope that helps. Regards. Mark.
Re: dynamical IP address
My ISP uses dynamically assigned IP addresses for their clients. How can I discover my IP in each session? (I am trying with asp, but I am not successful...) Not sure if this is what you're looking for . http://www.zoneedit.com/doc/dynamic.html?ad=googlex -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: dynamical IP address
On Sun, Aug 06, 2006 at 04:50:11PM -0300, Marcelo Chiapparini wrote: > Hi, > > My ISP uses dynamically assigned IP addresses for their clients. How can > I discover my IP in each session? (I am trying with asp, but I am not > successful...) With Active Server Pages? Try "/sbin/ifconfig". -- Carl Fink [EMAIL PROTECTED] Read my blog at nitpickingblog.blogspot.com. Reviews! Observations! Stupid mistakes you can correct! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: dynamical IP address
On Sunday 06 August 2006 12:50, Marcelo Chiapparini wrote: > Hi, > > My ISP uses dynamically assigned IP addresses for their clients. How can > I discover my IP in each session? (I am trying with asp, but I am not > successful...) Make sure you have a DHCP client installed. My current preference for this is dhcp3-client -- Paul Johnson Email and IM (XMPP & Google Talk): [EMAIL PROTECTED] Jabber: Because it's time to move forward http://ursine.ca/Ursine:Jabber pgpD2mc9Fdxg7.pgp Description: PGP signature
Re: dynamical IP address
On Sunday 06 August 2006 22:50, Marcelo Chiapparini wrote: > Hi, > > My ISP uses dynamically assigned IP addresses for their clients. How can > I discover my IP in each session? (I am trying with asp, but I am not > successful...) > You might pick out a free domain name from the like of dyndns.net. You can then install ddclient and ipcheck to keep them informed when your connection comes up or changes. In any event, ifconfig ppp0 or the like will display the IP number. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Single outgoing ip address
Hi folks, I have a test machine running Debian Sarge. The box has a single ethernet card, and has several ip addresses (10.10.10.50/21) aliased to it. The extra addresses are used by Apache for different vhosts. Whenever I try to access Internet using this box our gateway denies access, complaining about ip spoofing (one MAC address, several different ip addresses). How do I configure Debian to only use one of the ip addresses when communicating with other machines? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
wifi obtaining IP address
Debian sid. A little over a week ago my laptop stopped being able to complete a connection. I am using an Orinoco Silver (Hermes chipset) The failure is the well-known "unable to obtain IP address." I have used both wicd and Gnome Network Manager. iwlist and wifi-radar can see the access point. dhclient also fails. TIA for any ideas as to how to diagnose and solve this, Paul Scott -- 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/20100707004107.gb30...@mail.ultrasw.com
Jessie & Fixed IP Address
Hi Everybody, I am working with a Raspberry PI running Jessie and I'm not happy about the solutions I found to change it from DHCP to a fixed IP address. Editing the file /etc/dhcpcd.conf does not seem to work correctly. Can I go back to the old method of editing /etc/network/interfaces Or is there a better way of setting a fixed IP on Jessie? Thank you, David.
DHCP request IP address
Which file do you edit to request an IP address from a DHCP server? It's been awhile! Ric -- My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ..the Sin of Ignorance, and the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad. /https://linuxcounter.net/cert/44256.png / -- 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/530b986a.3040...@gmail.com
dhclient changes IP address
Hello, I have a system which comes up with one IP address 192.168.178.87 via dhclient, then after one day it gets eventually a different address 192.168.178.88 from my fritz.box, which runs the dhcp server: Jun 19 16:54:05 bokocube NetworkManager[338]: (eth0): DHCPv4 state changed bound -> expire Jun 19 16:54:05 bokocube NetworkManager[338]: (eth0): DHCPv4 state changed expire -> preinit Jun 19 16:54:05 bokocube dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 Jun 19 16:54:05 bokocube dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 Jun 19 16:54:06 bokocube dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 Jun 19 16:54:06 bokocube dhclient: DHCPOFFER from 192.168.178.1 Jun 19 16:54:06 bokocube ntpd[364]: Deleting interface #4 eth0, 192.168.178.87#123, interface stats: received=161, sent=164, dropped=0, active_time=2679 secs Jun 19 16:54:06 bokocube ntpd[364]: 178.63.135.195 interface 192.168.178.87 -> (none) Jun 19 16:54:06 bokocube ntpd[364]: 148.251.9.60 interface 192.168.178.87 -> (none) Jun 19 16:54:06 bokocube ntpd[364]: 85.25.197.197 interface 192.168.178.87 -> (none) Jun 19 16:54:06 bokocube ntpd[364]: 78.46.60.42 interface 192.168.178.87 -> (none) Jun 19 16:54:06 bokocube ntpd[364]: peers refreshed Jun 19 16:54:06 bokocube dhclient: DHCPACK from 192.168.178.1 Jun 19 16:54:06 bokocube dhclient: bound to 192.168.178.87 -- renewal in 367817 seconds. Jun 19 16:54:06 bokocube NetworkManager[338]: (eth0): DHCPv4 state changed preinit -> bound Jun 19 16:54:06 bokocube NetworkManager[338]:address 192.168.178.87 Jun 19 16:54:06 bokocube NetworkManager[338]:prefix 24 (255.255.255.0) Jun 19 16:54:06 bokocube NetworkManager[338]:gateway 192.168.178.1 Jun 19 16:54:06 bokocube NetworkManager[338]:nameserver '192.168.178.1' Jun 19 16:54:06 bokocube dbus[345]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm- dispatcher.se rvice' Jun 19 16:54:06 bokocube systemd[1]: Starting Network Manager Script Dispatcher Service... Jun 19 16:54:06 bokocube dbus[345]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher' Jun 19 16:54:06 bokocube systemd[1]: Started Network Manager Script Dispatcher Service. Jun 19 16:54:06 bokocube dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 Jun 19 16:54:06 bokocube dhclient: DHCPOFFER from 192.168.178.1 Jun 19 16:54:07 bokocube dhclient: DHCPACK from 192.168.178.1 Jun 19 16:54:07 bokocube dhclient: bound to 192.168.178.88 -- renewal in 425836 seconds. Jun 19 16:54:08 bokocube ntpd[364]: Listen normally on 6 eth0 192.168.178.88 UDP 123 Jun 19 16:54:08 bokocube ntpd[364]: peers refreshed I have never seen such a behavior on a different system on this dhcp server. Any hint what is going on here or how to debug this issue is very welcome. Thanks, Rainer -- Rainer Dorsch http://bokomoko.de/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/4181898.j1YhkcAoko@blackbox
Re: Changing IP address
So far I have had a couple of people help and this is what we have come up with. To change the IP address of a system the following files need to be modified. /etc/hosts - This was easy to figure out. /etc/resolv.conf - Just change the DNS servers to the new IP's. /etc/networks - I am a little confused on this one. My system had a single line in this file of: localnet 204.178.205.224 where the IP address of the linux system was 204.178.205.227 and the pipeline router's IP was 204.178.205.225. How is the number determined? It must have been calculated by the install scripts as I do not remember typing it in. /etc/init.d/network - Here is where I am having my problems. I have modified the IPADDR to my new IP address of the linux system. XXX.XXX.XXX.103 I have left the NETMASK at 255.255.255.248 as it was set before. I set NETWORK to the IP address of the router minus XXX.XXX.XXX.100 - IS THIS CORRECT? I set the BROADCAST to what it was before XXX.XXX.XXX.231 - IS THIS CORRECT? The GATEWAY is set to XXX.XXX.XXX.101 which is the IP address of my router. The lines: ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} executes without any errors. route add -net ${NETWORK} executes and gives the error SIOCADDR: invalid argument The last line also gives an error "SIOCADDR: Network is unreachable" but I think that is probably caused by the former error. Is there anything else we need to change that is not listed above? -or- Does anyone have an idea of why this error occurs and what value NETWORK shoud be? Any ideas on an easier way to get this working? I know during the original install, it was much easier to understand and many of these parameters were calculated by the script. Thanks, Doug Doug Thistlethwaite wrote: > Hello, > > I just changed my IP and as a result, I now have new IP addresses. How > do I go about changing the IP address of my machine? I will need to > change the DNS as well... > > Also, I use SAMBA and I can't remember if I had any changes to be done > there. > > If you know what is involved in this, please point me in the right > direction! :) > > Thanks, > > Doug > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Re: Changing IP address
On 30-May-99 George Bonser wrote: > On Sun, 30 May 1999, Doug Thistlethwaite wrote: > >> So far I have had a couple of people help and this is what we have come up >> with. >> >> To change the IP address of a system the following files need to be >> modified. >> >> ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} >> >> executes without any errors. >> >> route add -net ${NETWORK} >> >> executes and gives the error SIOCADDR: invalid argument > > Yeah, if you are using a 2.2.x kernel, comment this line out, the network > route is auto-added when you ifconfig the interface. I was having this problem just last night and could not figure out where this SIOCADDR error was coming from. -- Andrew
Re: Changing IP address
Subject: Re: Changing IP address Date: Sun, May 30, 1999 at 05:35:52PM - In reply to:Pollywog Quoting Pollywog([EMAIL PROTECTED]): > > On 30-May-99 George Bonser wrote: > > On Sun, 30 May 1999, Doug Thistlethwaite wrote: > > > >> So far I have had a couple of people help and this is what we have come up > >> with. > >> > >> To change the IP address of a system the following files need to be > >> modified. > >> > >> ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} > >> > >> executes without any errors. > >> > >> route add -net ${NETWORK} > >> > >> executes and gives the error SIOCADDR: invalid argument > > > > Yeah, if you are using a 2.2.x kernel, comment this line out, the network > > route is auto-added when you ifconfig the interface. > > I was having this problem just last night and could not figure out where this > SIOCADDR error was coming from. > > -- > Andrew > Then you don't read all the mail, pollywog. This has been given as the fix at least once or twice a week for the last two months. Old saying: People should read twice as much mail as they send. -- You know you've been spending too much time on the computer when your friend misdates a check, and you suggest adding a "++" to fix it. ___ Wayne T. Topa <[EMAIL PROTECTED]>
Re: Changing IP address
I am using a 2.036 kernel I believe. One thing to note is this system was working perfectly on the network before I was forced to change my IP addresses. All I want to do is setup the new IP addresses in the system. I would think the only thing I would need to do is set the correct IP and netmasks. Doug George Bonser wrote: > On Sun, 30 May 1999, Doug Thistlethwaite wrote: > > > So far I have had a couple of people help and this is what we have come up > > with. > > > > To change the IP address of a system the following files need to be > > modified. > > > > ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} > > > > executes without any errors. > > > > route add -net ${NETWORK} > > > > executes and gives the error SIOCADDR: invalid argument > > Yeah, if you are using a 2.2.x kernel, comment this line out, the network > route is auto-added when you ifconfig the interface. > > George Bonser > > Welcome to Wit's End
Re: Changing IP address
Well, I have now have the linux system working on my network. I ended up changing the network broadcast, and netmask to (XXX.XXX.XXX.0, XXX.XXX.XXX.255, and 255.255.255.0 respectively). I do not know why I had to do this as my network mask was far more restrictive 255.255.255.248 with my last ISP. I guess I need to do a little more studying on what each of these parameters do. I do still have a few behavior problems (my network that is :) ! 1. My windows 95 system can not see my linux samba server in network neighborhood (it use to see it fine). I can type in the link by hand \\linuxsystemid\username to create the link. Does anybody know if there is a parameter in samba that relates to system IP addresses? 2. My router logs into the internet every time my windoze 95 system powers up and connects to the samba servers. I think this has to do with the netmask... Thanks to everyone who has helped! Doug Doug Thistlethwaite wrote: > I am using a 2.036 kernel I believe. > > One thing to note is this system was working perfectly on the network before > I was > forced to change my IP addresses. All I want to do is setup the new IP > addresses in > the system. I would think the only thing I would need to do is set the > correct IP and > netmasks. > > Doug > > George Bonser wrote: > > > On Sun, 30 May 1999, Doug Thistlethwaite wrote: > > > > > So far I have had a couple of people help and this is what we have come > > > up with. > > > > > > To change the IP address of a system the following files need to be > > > modified. > > > > > > ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} > > > > > > executes without any errors. > > > > > > route add -net ${NETWORK} > > > > > > executes and gives the error SIOCADDR: invalid argument > > > > Yeah, if you are using a 2.2.x kernel, comment this line out, the network > > route is auto-added when you ifconfig the interface. > > > > George Bonser > > > > Welcome to Wit's End > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
RE: Changing IP address
Samba sends out broadcast packets saying what services it has available to the network. If the netmask is set incorrectly the other machines on the network don't get the broadcast and don't see the machine in network neighborhood. Your router is dialing out 'cuse it thinks that the machine is on a different network and is trying to reach it through the net. The only samba setting that needs an ip (I think) is the 'win server'. 255.255.255.248 gives a range of 8 IPs, with six usable IPs (first is network ip, last is broadcast). --Dano > -Original Message- > From: Doug Thistlethwaite [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, June 01, 1999 10:13 AM > To: debian-user@lists.debian.org > Subject: Re: Changing IP address > > Well, > > I have now have the linux system working on my network. I ended up > changing the network > broadcast, and netmask to (XXX.XXX.XXX.0, XXX.XXX.XXX.255, and > 255.255.255.0 > respectively). I do not know why I had to do this as my network mask was > far more > restrictive 255.255.255.248 with my last ISP. I guess I need to do a > little more studying > on what each of these parameters do. > > I do still have a few behavior problems (my network that is :) ! > > 1. My windows 95 system can not see my linux samba server in network > neighborhood (it use > to see it fine). I can type in the link by hand \\linuxsystemid\username > to create the > link. Does anybody know if there is a parameter in samba that relates to > system IP > addresses? > > 2. My router logs into the internet every time my windoze 95 system powers > up and connects > to the samba servers. I think this has to do with the netmask... > > Thanks to everyone who has helped! > > Doug >
Re: Changing IP address
Dan Willard wrote: > You are correct that your ISP is clueless. Going by the numbers that you > sent, your home network and theirs are one network with the same network > number and broadcast number. And why your router calls out whenever a > broadcast packet is sent. Dan, Thanks for the information. I was kind of thinking that they had a problem with what they gave me. (see below). > > Now, provided that the numbers for your range are correct, your linux box > is trying to take the broadcast number for your home network. And yes, the > first number in a range is the network number (even) and the last is the > broadcast number (odd), your reasoning looks good to me. Gonna take a > little work to straighten it out. > You should call your ISP and varify your home network numbers. Yell at > 'em if they give you a wrong subnet, its a major security hole for both you > and them. (Unless you are using your office's network, then different rules > apply). > Both your win95 and linux boxes need the same subnetmask number. You'll > need to change you linux box's ip to something other than 103 (100 looks > good). You should also change your router's subnet to match > (204.178.54.101/29 if the router doen't like it try /21, some routers drop > the first 8 bits) and change its network and broadcast numbers. You will > also probably have to change the route in the router to point to the new > network. > I hope I haven't forgoten anything. Now, don't you just love computers > and networks? Humm Basically, my ISP gave me three IP addresses (I had to twist his arm as normally he changes A LOT more for static IP addresses. I have .101, .102, and .103 on his network with .253 being his system. His suggestion is to use 255.255.255.0 for the netmask, with .0 for the network and .255 for the broadcast address. I have asked him a few question on this issue and I think he is already getting tired of me! :O Oh, one more piece of information If I pull the power on my router, my pc can't connect to the samba on the linux at all! I have the feeling that if I push to much, I am going to become a internet orphan again. In my location, I am having a very hard time trying to get ISDN service within my local calling area. I am basically waiting for DSL to arrive later this summer. This said... Is there any way for me to use the three IP addresses they assigned to me? I know the router (pipeline 50) has some fancy features and maybe they can help. I tried the following this morning after your last message. IPADDR .103 NETMASK 255.255.255.240 NETWORK=.96 BROADCAST= .111 GATEWAY= .101 on my linux system. The thought was that I could use 4 bits to define my network (FF.FF.FF.F0) and with the number 101, 102, 103, it would define the block between .96 and .111 Unfortunately, after I changed each system to these settings, the network still behaved in the same way. Can I know the pipeline 50 has filters, DHCP, NAT, and other fancy features. Unfortunately, I do not have a manual for the device. Thanks for the help, Doug
Re: Changing IP address
As discussed sounds like that ISP has no ideas about subnetting like all us do :) -Original Message- From: Doug Thistlethwaite <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>; debian-user@lists.debian.org Date: Thursday, 3 June 1999 15:23 Subject: Re: Changing IP address > > >Dan Willard wrote: > >> You are correct that your ISP is clueless. Going by the numbers that you >> sent, your home network and theirs are one network with the same network >> number and broadcast number. And why your router calls out whenever a >> broadcast packet is sent. > >Dan, Thanks for the information. I was kind of thinking that they had a >problem with >what they gave me. (see below). > >> >> Now, provided that the numbers for your range are correct, your linux box >> is trying to take the broadcast number for your home network. And yes, the >> first number in a range is the network number (even) and the last is the >> broadcast number (odd), your reasoning looks good to me. Gonna take a >> little work to straighten it out. >> You should call your ISP and varify your home network numbers. Yell at >> 'em if they give you a wrong subnet, its a major security hole for both you >> and them. (Unless you are using your office's network, then different rules >> apply). >> Both your win95 and linux boxes need the same subnetmask number. You'll >> need to change you linux box's ip to something other than 103 (100 looks >> good). You should also change your router's subnet to match >> (204.178.54.101/29 if the router doen't like it try /21, some routers drop >> the first 8 bits) and change its network and broadcast numbers. You will >> also probably have to change the route in the router to point to the new >> network. >> I hope I haven't forgoten anything. Now, don't you just love computers >> and networks? > >Humm > >Basically, my ISP gave me three IP addresses (I had to twist his arm as >normally he changes A LOT more for static IP addresses. I have .101, >.102, and .103 on his network with .253 being his system. His >suggestion is to use 255.255.255.0 for the netmask, with .0 for the >network and .255 for the broadcast address. I have asked him a few >question on this issue and I think he is already getting tired of me! :O > >Oh, one more piece of information If I pull the power on my router, my >pc can't connect to the samba on the linux at all! > >I have the feeling that if I push to much, I am going to become a >internet orphan again. In my location, I am having a very hard time >trying to get ISDN service within my local calling area. I am basically >waiting for DSL to arrive later this summer. This said... > >Is there any way for me to use the three IP addresses they assigned to >me? I know the router (pipeline 50) has some fancy features and maybe >they can help. I tried the following this morning after your last >message. > >IPADDR .103 >NETMASK 255.255.255.240 >NETWORK=.96 >BROADCAST= .111 >GATEWAY= .101 > >on my linux system. The thought was that I could use 4 bits to define >my network (FF.FF.FF.F0) and with the number 101, 102, 103, it would >define the block between .96 and .111 > >Unfortunately, after I changed each system to these settings, the >network still behaved in the same way. > >Can I know the pipeline 50 has filters, DHCP, NAT, and other fancy >features. Unfortunately, I do not have a manual for the device. > >Thanks for the help, > > >Doug > > >-- >Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >
RE: Changing IP address
'k you are using a special case :). Normally ISPs like to seperate networks into subnets, guess they think that its too much of a hassle. Pipeline does have a configuration program that makes it easer to play with the router. With only getting three ip addresses you're kinda screwed, and have only two options that I can think of. Option #1 - use the settings that he gave you and live with the router dialing out. Option #2 - drop a second network card in your linux box and use ipmasq for an internal network. Sorry that this has been such a pain. --Dano
Re: Changing IP address
Doug Thistlethwaite wrote: > > Dan Willard wrote: > > > You are correct that your ISP is clueless. Going by the numbers that you > > sent, your home network and theirs are one network with the same network > > number and broadcast number. And why your router calls out whenever a > > broadcast packet is sent. > > Dan, Thanks for the information. I was kind of thinking that they had a > problem with > what they gave me. (see below). > > > > > Now, provided that the numbers for your range are correct, your linux box > > is trying to take the broadcast number for your home network. And yes, the > > first number in a range is the network number (even) and the last is the > > broadcast number (odd), your reasoning looks good to me. Gonna take a > > little work to straighten it out. > > You should call your ISP and varify your home network numbers. Yell at > > 'em if they give you a wrong subnet, its a major security hole for both you > > and them. (Unless you are using your office's network, then different rules > > apply). > > Both your win95 and linux boxes need the same subnetmask number. You'll > > need to change you linux box's ip to something other than 103 (100 looks > > good). You should also change your router's subnet to match > > (204.178.54.101/29 if the router doen't like it try /21, some routers drop > > the first 8 bits) and change its network and broadcast numbers. You will > > also probably have to change the route in the router to point to the new > > network. > > I hope I haven't forgoten anything. Now, don't you just love computers > > and networks? > > Humm > > Basically, my ISP gave me three IP addresses (I had to twist his arm as > normally he changes A LOT more for static IP addresses. I have .101, > .102, and .103 on his network with .253 being his system. His > suggestion is to use 255.255.255.0 for the netmask, with .0 for the > network and .255 for the broadcast address. I have asked him a few > question on this issue and I think he is already getting tired of me! :O > > Oh, one more piece of information If I pull the power on my router, my > pc can't connect to the samba on the linux at all! > > I have the feeling that if I push to much, I am going to become a > internet orphan again. In my location, I am having a very hard time > trying to get ISDN service within my local calling area. I am basically > waiting for DSL to arrive later this summer. This said... > > Is there any way for me to use the three IP addresses they assigned to > me? I know the router (pipeline 50) has some fancy features and maybe > they can help. I tried the following this morning after your last > message. > > IPADDR .103 > Can I know the pipeline 50 has filters, DHCP, NAT, and other fancy > features. Unfortunately, I do not have a manual for the device. > This is probably not your real problem, but you can download the Pipeline manuals from www.ascend.com.
Re: Changing IP address
Doug Thistlethwaite wrote: > > > IPADDR .103 > NETMASK 255.255.255.240 > NETWORK=.96 > BROADCAST= .111 > GATEWAY= .101 > > on my linux system. The thought was that I could use 4 bits to define > my network (FF.FF.FF.F0) and with the number 101, 102, 103, it would > define the block between .96 and .111 > > Unfortunately, after I changed each system to these settings, the > network still behaved in the same way. > > Can I know the pipeline 50 has filters, DHCP, NAT, and other fancy > features. Unfortunately, I do not have a manual for the device. > Maybe I can help you on that, anyway, since I have a Pipeline 75. You *can* telnet to your router to set it up, right? How does the router know when something is outside his subnet and he needs to dial out? Look at Configure/MyAddr. You'd set that up as 204.178.54.101/29, so now the router knows what his address and subnet is. Also, set Configure/RemAddr to 204.178.54.253/29, and set the appropriate phone number (which I imagine you've already done). I'm actually not sure if you have to do the following if you only have one connection profile, but you should give it a look. Probably the Lan Addrs on the connection profile has already been done automatically, and the Default/Gateway stuff *is* necessary. Look at Ethernet/Connections//IP options/Lan Addrs=x.x.x.x for your connection profile to the ISP. I believe for what you're wanting to do, Lan Addrs should be 204.178.54.253/29, since it's *his* subnet that you'd be dialing out to. Even more importantly, look at Ethernet/Static Rtes/Default/Gateway. Set that value to 204.178.54.253. That makes it so that any IP address the router sees that is outside his subnet needs to go through a gateway of 204.178.54.253, which is in the subnet that you just set up the connection profile for. If you can get this router config stuff straight, you should at least be able to inhibit the unnecessary outgoing calls. If you're still getting outgoing calls, then you probably need to do things like look at the output of tcpdump -ttn to see what addresses are causing the callouts, and getting debug output from named, to see what's making him do stupid lookups (this is where NetBIOS stuff from Win95 comes in). Just as a clue here, make sure your domain name on your Windows machine is set to be the same as your Linux server. A mismatch there often causes stupid DNS lookups. Now on your Linux machine, you'll need 204.178.54.101 (your router address) as the gateway, but I think you already know that. > Thanks for the help, > > Doug > Your welcome. :-)
Unauthorized remote IP address
Hi all, I am trying to establish a network connection with my Palm Pilot via the cradle on ttyS0 and pppd won't let it stay connected. It successfully lets the Palm log in but then terminates the connection when it is setting up the interface, saying the peer(the pilot) is not authorized to use the ip 192.168.1.99. Below is the debug output and the config file I am using % cat /etc/ppp/options.palm require-pap login auth passive silent persist local debug kdebug 1 -detach mtu 576 mru 576 lock netmask 255.255.255.0 192.168.1.1:192.168.1.99 crtscts asyncmap 0 name brian % pppd /dev/ttyS0 19200 file /etc/ppp/options.palm Using interface ppp1 Connect: ppp1 <--> /dev/ttyS0 rcvd [LCP ConfReq id=0x11 ] sent [LCP ConfReq id=0x1 ] sent [LCP ConfAck id=0x11 ] rcvd [LCP ConfRej id=0x1 ] sent [LCP ConfReq id=0x2 ] rcvd [LCP ConfAck id=0x2 ] rcvd [PAP AuthReq id=0x8 user="servis" password="<*removed*>"] user servis logged in sent [PAP AuthAck id=0x8 "Login ok"] sent [IPCP ConfReq id=0x1 ] sent [CCP ConfReq id=0x1 ] rcvd [IPCP ConfReq id=0xd] sent [IPCP ConfRej id=0xd ] rcvd [IPCP ConfNak id=0x1 ] sent [IPCP ConfReq id=0x2 ] rcvd [LCP ProtRej id=0x12 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] rcvd [IPCP ConfReq id=0xe ] sent [IPCP ConfAck id=0xe ] rcvd [IPCP ConfAck id=0x2 ] Peer is not authorized to use remote address 192.168.1.99 sent [IPCP TermReq id=0x3 "Unauthorized remote IP address"] rcvd [IPCP TermAck id=0x3 "Unauthorized remote IP address"] sent [LCP TermReq id=0x3 "No network protocols running"] rcvd [LCP TermAck id=0x3 "No network protocols running"] Connection terminated. Connect time 0.1 minutes. Sent 273 bytes, received 262 bytes. I couldn't find any docs on what this means and how to fix it. I tried other private ip's with no luck. I have a nic at 192.168.1.1, a win95 pc on the other end of the local lan using 192.168.1.2, my modem on ppp0 using the ip that it was assign for this call(128.46.112.36) and the lo at 127.0.0.1. Any hints would be appreciated. -- Brian - Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -
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
diald and ip address
I was wondering what file I should modify so that diald will email me my ip address when it goes on line? I've tried adding it to the /etc/diald/ip-up file (I believe that is where it is, but I'm not at my machine right now), and it did not work. Is there another file I can modify so it will do this? Thanks, Chris lsouth.net
IP address and ipfwadm
I am using dialup PPP and need to run ipfwadm everytime I connect to my ISP. I know that I can put ipfwadm into /etc/rc file. What is the best/easy way to get the IP address other than using ifconfig or route (they are not good because the output is more than one line)? ipfwadm -A -a -P My IP address go here -D 0/0 Lawrence -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Strange IP address...
[...] > Anyway, the intranet is a Window NT net and while goofing around I > discovered that my machine has two IP addresses. One is the one > assigned, 172.16.18.5 and the other is 127.0.0.1. I think I have gone > through all the config files in /etc and I can't find out where this > address is being sent out from. When I reboot with just the Windows for > Workgroups the address disappears so I am assuming it is an artifact of > one of the network items I installed on the Linux side. > > Can someone tell me which package has this generic address and where I > can find it and kill it? 127.0.0.1 is the generic loopback address for all machines that use IP addressing. On every machine it means "myself". Don't try to wipe it out or you may find some of your software doesn't work. Any IP packets addressed to 127.0.0.1 should never leave the machine they originate from (unless maybe they're source-routed) -- if you find packets with that destination address getting off your machine and onto the wires then you have a big problem. But I doubt that is the case -- some stuff would have to be pretty broken to permit that. In a nutshell: this is normal. You don't have a problem. -- "Human beings rarely imagine a god that behaves any | G. Branden Robinson better than a spoiled child." | Purdue University -- Robert Heinlein| [EMAIL PROTECTED]
Re: Strange IP address...
> Anyway, the intranet is a Window NT net and while goofing around I > discovered that my machine has two IP addresses. One is the one > assigned, 172.16.18.5 and the other is 127.0.0.1. I think I have gone > through all the config files in /etc and I can't find out where this > address is being sent out from. When I reboot with just the Windows for > Workgroups the address disappears so I am assuming it is an artifact of > one of the network items I installed on the Linux side. > > Can someone tell me which package has this generic address and where I > can find it and kill it? The 127.0.0.1 address is the so-called localhost-address. Linux uses this address if it is running standalone, no network available, and for local purposes. Thus you should not remove this address, which normally is found int /etc/hosts. Andreas.
Re: Strange IP address...
Branden Robinson <[EMAIL PROTECTED]> writes: > In a nutshell: this is normal. You don't have a problem. I'm not sure if this is related, but there was one problem with the *configuration* of the loopback interface that was fixed in the latest package. The original /etc/init.d/network read: # Configure the loopback device. ifconfig lo 127.0.0.1 route add 127.0.0.1 It should read: # Configure the loopback device. ifconfig lo 127.0.0.1 route add -net 127.0.0.0 dev lo This is mentioned in the Changes file for the new kernel (among other places). -- Rob
ip address and netmask
I am slowly working toward a vpn between the office and home. I now have to change my lan at work so as not to conflict w/ the lan at home. at work, i reconfigured my eth1 interface: eth1 192.168.2.1 255.255.254.0 eth1:0 192.168.1.1 255.255.255.0 the windblows machine i have connected to eth1 is 192.168.1.100 255. 255.255.0 this configuration will conflict w/ the lan at home. when i reconfigure the windblows machine to 192.168.2.100 255.255.254. 0, it arps but i cannot ping 192.168.2.1 i don't think the ip address is outside of the range of the netmask but maybe i am incorrect? suggestions? http://www.zerocrossings.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: mistypes IP-address
Frank, Probably the quickest way would be to just to edit /etc/network/interfaces. Barry deFreese NTS Technology Services Manager Nike Team Sports (949)-616-4005 [EMAIL PROTECTED] "Technology doesn't make you less stupid; it just makes you stupid faster." Jerry Gregoire - Former 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 > 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-interface, > apart from being more carefull next time. > And, since it is a Debian system, is there a tasksel-option for this? > > Thank you all in advance. > > Frank. > > > -- > 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]
Re: mistypes IP-address
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. It won't accept the command What actions do I have to take to correct the address of eth0-interface, apart from being more carefull next time. And, since it is a Debian system, is there a tasksel-option for this? Thank you all in advance. Frank. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mistypes IP-address
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 .. ifconfig eth0 192.168.X.X or if you mistyped the netmask as well ifconfig eth0 192.168.X.X netmask X.X.X.X ideally you should edit /etc/network/interfaces and issue a: /etc/init.d/networking restart nate -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]