URN Logo
UNIX Resources » Linux » Linux Forum » Mandrake Linux Discussions » Page.32 » static ip address
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
static ip address
Subject: static ip address
Author: Keith    Posted: 2005-08-28 04:49:01    Length: 630 byte(s)
[Original] [Print] [Top]
Hi, using Mandrake 10.0 with Speedtouch 330 ADSL modem there seems to be
no way of setting up a static IP address. I'm a newbie to Linux and I've
  tried 'man ppp' and 'man adsl' and 'man speedtch' but there are no
pages . So, what should I be typing after 'man' and how do I assign a
static IP which I need to log on to my ISP?

Thanks for any help anyone can give
Keith
--
All messages scanned for viruses
by Etrust EZ Antivirus
My site: http://www.wherewelive.demon.co.uk

[Original] [Print] [Top]
Subject: static ip address
Author: Crashdamage    Posted: 2005-08-28 05:48:12    Length: 904 byte(s)
[Original] [Print] [Top]
On Sun, 28 Aug 2005 11:49:01 +0100, Keith [nobody@anywhere.org] wrote:
QUOTE
Hi, using Mandrake 10.0 with Speedtouch 330 ADSL modem there seems to be
no way of setting up a static IP address. I'm a newbie to Linux and I've
tried 'man ppp' and 'man adsl' and 'man speedtch' but there are no
pages . So, what should I be typing after 'man' and how do I assign a
static IP which I need to log on to my ISP?

You can do it in a way similar to Windows.  Open Mandrake Control
Center, then click Network & INternet]Manage Connections]TCP/IP tab,
for Protocol choose Static instead of DHCP and enter your IP info.
--
Registered Linux user #266531

[Original] [Print] [Top]
Subject: static ip address
Author: Keith    Posted: 2005-08-28 12:27:19    Length: 2,119 byte(s)
[Original] [Print] [Top]
Crashdamage wrote:
QUOTE
On Sun, 28 Aug 2005 11:49:01 +0100, Keith [nobody@anywhere.org] wrote:

Hi, using Mandrake 10.0 with Speedtouch 330 ADSL modem there seems to be
no way of setting up a static IP address. I'm a newbie to Linux and I've
tried 'man ppp' and 'man adsl' and 'man speedtch' but there are no
pages . So, what should I be typing after 'man' and how do I assign a
static IP which I need to log on to my ISP?


You can do it in a way similar to Windows.  Open Mandrake Control
Center, then click Network & INternet]Manage Connections]TCP/IP tab,
for Protocol choose Static instead of DHCP and enter your IP info.

Thanks for your reply Crashdamage. In Manage Connections the first thing
  listed is the interface. My Internet connection is listed as ADSL, the
network card as eth0. With ADSL selected the TCP/IP tab has entry boxes
for IP address and Subnet but both both are greyed out and there is
nowhere to choose DHCP or static IP. I have selected the eth0 interface,
changed from DHCP to static and entered my IP address and Subnet there
to see if the settings are global but still can't connect. When I try to
start ADSL in System]Services it fails and times out and the only
setting I can see that is missing is my IP address. Unfortunately Demon
(my ISP) don't offer support for Linux so I can't get any info from
them. BTW, at the boot prompt (my system is configured for text boot, no
autologin) it says the kernel is 2.4.something, I thought it should be
2.6. Could this be the cause of my problems?

Thanks again
Keith

--
All messages scanned for viruses
by Etrust EZ Antivirus
My site: http://www.wherewelive.demon.co.uk

[Original] [Print] [Top]
Subject: static ip address
Author: Larry W. Hatcher    Posted: 2005-08-28 13:03:31    Length: 2,772 byte(s)
[Original] [Print] [Top]
On Sun, 28 Aug 2005 19:27:19 +0100, Keith wrote:

QUOTE
Crashdamage wrote:
On Sun, 28 Aug 2005 11:49:01 +0100, Keith [nobody@anywhere.org] wrote:

Hi, using Mandrake 10.0 with Speedtouch 330 ADSL modem there seems to be
no way of setting up a static IP address. I'm a newbie to Linux and I've
tried 'man ppp' and 'man adsl' and 'man speedtch' but there are no
pages . So, what should I be typing after 'man' and how do I assign a
static IP which I need to log on to my ISP?


You can do it in a way similar to Windows.  Open Mandrake Control
Center, then click Network & INternet]Manage Connections]TCP/IP tab,
for Protocol choose Static instead of DHCP and enter your IP info.

Thanks for your reply Crashdamage. In Manage Connections the first thing
listed is the interface. My Internet connection is listed as ADSL, the
network card as eth0. With ADSL selected the TCP/IP tab has entry boxes
for IP address and Subnet but both both are greyed out and there is
nowhere to choose DHCP or static IP. I have selected the eth0 interface,
changed from DHCP to static and entered my IP address and Subnet there
to see if the settings are global but still can't connect. When I try to
start ADSL in System]Services it fails and times out and the only
setting I can see that is missing is my IP address. Unfortunately Demon
(my ISP) don't offer support for Linux so I can't get any info from
them. BTW, at the boot prompt (my system is configured for text boot, no
autologin) it says the kernel is 2.4.something, I thought it should be
2.6. Could this be the cause of my problems?

I'm pretty sure I've used a static IP address since Mandrake 10.0.  If the
gui in MCC doesn't seem to do it, you could always try editing the
configuration file by hand as root.  That should work.  The file is
'/etc/sysconfig/network-scripts/ifcfg-eth0'.  Here is a copy of mine which
is using a static IP address.  However, I'm running Mandriva 2005 LE.

DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.100
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=yes
USERCTL=yes

I have a router as a gateway so my IP address is a local network IP.
--
Registered Linux User #:  222896
Registered Machine #:     148845
Larry W. Hatcher

[Original] [Print] [Top]
Subject: static ip address
Author: dave stanton    Posted: 2005-08-28 13:56:36    Length: 957 byte(s)
[Original] [Print] [Top]
On Sun, 28 Aug 2005 11:49:01 +0100, Keith wrote:

QUOTE
Hi, using Mandrake 10.0 with Speedtouch 330 ADSL modem there seems to be
no way of setting up a static IP address. I'm a newbie to Linux and I've
tried 'man ppp' and 'man adsl' and 'man speedtch' but there are no
pages . So, what should I be typing after 'man' and how do I assign a
static IP which I need to log on to my ISP?

Thanks for any help anyone can give
Keith

You sure you need to set the static address at your end ?. I use Metronet
who give everyone a static address and I did'nt have to anything just
enter my user name and password. The Metronet server assigns me a static
address via my router.

Dave

[Original] [Print] [Top]
Subject: static ip address
Author: De Kameel    Posted: 2005-08-28 14:00:23    Length: 1,128 byte(s)
[Original] [Print] [Top]
Keith wrote:

QUOTE
Hi, using Mandrake 10.0 with Speedtouch 330 ADSL modem there seems to be
no way of setting up a static IP address. I'm a newbie to Linux and I've
tried 'man ppp' and 'man adsl' and 'man speedtch' but there are no
pages . So, what should I be typing after 'man' and how do I assign a
static IP which I need to log on to my ISP?

AFAIK the Speedtouch 330 is a USB modem. That means you have *no* local LAN,
but just one computer directly connected to the Internet?

If so, you're talking about the public 'static ip address' assigned by the
ISP, right? If so, the IP address is assigned by the ISP using PPP or DHCP.
The ISP decides whether your IP address is always the same (static) or can
change (dynamic). You can't change that behaviour on your side of the
connection, not with Linux not with Windows.

De Kameel

[Original] [Print] [Top]
Subject: static ip address
Author: Keith    Posted: 2005-08-28 15:57:14    Length: 2,610 byte(s)
[Original] [Print] [Top]
De Kameel wrote:
QUOTE
Keith wrote:


Hi, using Mandrake 10.0 with Speedtouch 330 ADSL modem there seems to be
no way of setting up a static IP address. I'm a newbie to Linux and I've
tried 'man ppp' and 'man adsl' and 'man speedtch' but there are no
pages . So, what should I be typing after 'man' and how do I assign a
static IP which I need to log on to my ISP?


AFAIK the Speedtouch 330 is a USB modem. That means you have *no* local LAN,
but just one computer directly connected to the Internet?

That's right though there is a NIC integrated on the motherboard

QUOTE

If so, you're talking about the public 'static ip address' assigned by the
ISP, right? If so, the IP address is assigned by the ISP using PPP or DHCP.
The ISP decides whether your IP address is always the same (static) or can
change (dynamic). You can't change that behaviour on your side of the
connection, not with Linux not with Windows.

I agree with you and I am not trying to change behaviour. I had
understood that the IP address had to be set on my machine to enable it
to log onto my ISP. So, having read what you wrote I have just removed
it from my Windows config to try it and it logged on normally so as you
say it doesn't need setting on my machine.

Anyway, following Larry's post I had a look in
/etc/sysconfig/network-scripts and I had an ifcfg-eth0 file but no
ifcfg-adsl file. So I copied the eth0 and renamed it to adsl, put in my
IP and Subnet which duly appeared, though still greyed out, in MCC
Network and Internet. It doesn't have the device listed though as
Larry's does, nor does it have a Metric= entry (whatever Metric is) so
that will be the next thing I'll try.

Thanks to everyone's help and input I am certainly starting to learn
about the workings of Linux and I appreciate all the help

Keith

--
All messages scanned for viruses
by Etrust EZ Antivirus
My site: http://www.wherewelive.demon.co.uk

[Original] [Print] [Top]
Subject: static ip address
Author: Jim Townsend    Posted: 2005-08-28 21:11:49    Length: 1,448 byte(s)
[Original] [Print] [Top]
Keith wrote:


QUOTE
Anyway, following Larry's post I had a look in
/etc/sysconfig/network-scripts and I had an ifcfg-eth0 file but no
ifcfg-adsl file. So I copied the eth0 and renamed it to adsl, put in my
IP and Subnet which duly appeared, though still greyed out, in MCC
Network and Internet. It doesn't have the device listed though as
Larry's does, nor does it have a Metric= entry (whatever Metric is) so
that will be the next thing I'll try.

Does your ISP use DHCP or PPPoE ?  

Knowing the answer to the above question is absolutely
critical if you want to get online because DHCP is
a completely different protocol that PPPoE.

DHCP is possible with DSL, but *most* DSL providers use PPPoE.

If your ISP does use PPPoE, then forget setting up an IP
address.. or anything to do with DHCP..  It just won't work.

Just load the rp-pppoe package.

Unlike DHCP, you must send your username and password to
get authenticated.  You set PPPoE much like a dialup PPP
link.  If your ISP supplied a username and password for
your DSL account, then you almost certainly have to set
up PPPoE.

[Original] [Print] [Top]
Subject: static ip address
Author: dave stanton    Posted: 2005-08-29 00:02:47    Length: 799 byte(s)
[Original] [Print] [Top]
QUOTE
You can do it in a way similar to Windows.  Open Mandrake Control
Center, then click Network & INternet]Manage Connections]TCP/IP tab,
for Protocol choose Static instead of DHCP and enter your IP info.

That just sets the IP address of the linux box to be a static one ie a
manualy entered address or DHCP whre the IP address is obtained from a
central server on a local network. Nothing to do with his ISP, the ISP
determines wether he has a static or dynamic address. Thats another reason
to choose a router over a brain dead USB modem.

Dave

[Original] [Print] [Top]
Subject: static ip address
Author: Walter Mautner    Posted: 2005-08-29 00:07:54    Length: 1,083 byte(s)
[Original] [Print] [Top]
Keith wrote:

QUOTE
De Kameel wrote:
....
AFAIK the Speedtouch 330 is a USB modem. That means you have *no* local
LAN, but just one computer directly connected to the Internet?

That's right though there is a NIC integrated on the motherboard

Ok, so you don't have to look for eth0, instead try to configure a usb

network connection with mcc (you may try "modprobe usbnet" for hardcore
adventures ;-)) and have a look at your windows config beforehand for the
ip addresses and if you need ethernet/dhcp or pppoe.

--
Longhorn error#4711: TCPA / NGSCP VIOLATION: Microsoft optical mouse
detected penguin patterns on mousepad. Partition scan in progress
 to remove offending incompatible products.  Reactivate MS software.
Linux woodpecker.homnet.at 2.6.12-mm2[LinuxCounter#295241,ICQ#4918962]

[Original] [Print] [Top]
Subject: static ip address
Author: Crashdamage    Posted: 2005-08-29 04:36:35    Length: 1,572 byte(s)
[Original] [Print] [Top]
On Mon, 29 Aug 2005 07:02:47 +0100, dave stanton [me@privacy.net] wrote:

QUOTE
You can do it in a way similar to Windows.  Open Mandrake Control
Center, then click Network & INternet]Manage Connections]TCP/IP tab,
for Protocol choose Static instead of DHCP and enter your IP info.

That just sets the IP address of the linux box to be a static one ie a
manualy entered address or DHCP whre the IP address is obtained from a
central server on a local network. Nothing to do with his ISP, the ISP
determines wether he has a static or dynamic address. Thats another reason
to choose a router over a brain dead USB modem.

Well, I didn't realize he was trying to use a friggin' USB modem.  The
1st thing he should do is use an ethernet connection and forget USB.
He just asked for a noobie-friendly way to set a static IP so I told
him.

But I've never used or felt I needed a router at home.  The Linux box
is connected to the 'Net and plenty secure without a router, and it
handles routing for those injury-prone Windoze boxes that get connected
to the LAN.  

I have SBC DSL at my office (for only 2 more days, thank goodness) and
it uses DHCP.  I guess that's a little unusual.

--
Registered Linux user #266531

[Original] [Print] [Top]
Subject: static ip address
Author: Keith    Posted: 2005-08-29 11:03:39    Length: 2,184 byte(s)
[Original] [Print] [Top]
Jim Townsend wrote:
QUOTE
Keith wrote:


Does your ISP use DHCP or PPPoE ?

My ISP is Demon and they use PPPoA

QUOTE

If your ISP does use PPPoE, then forget setting up an IP
address.. or anything to do with DHCP..  It just won't work.

Demon provide the IP address and their instructions always say you
should enter it. Though experimenting with Windows following another
message in this thread it seems it does NOT need to be entered

QUOTE

Just load the rp-pppoe package.

Would that work with PPPoA?

QUOTE

Unlike DHCP, you must send your username and password to
get authenticated.  You set PPPoE much like a dialup PPP
link.  If your ISP supplied a username and password for
your DSL account, then you almost certainly have to set
up PPPoE.

I do have a username and password and the set-up is very much like a
standard dial-up link. It's beginning to look like the problem isn't in
the set-up of log-in info but the USB ADSL modem. Maybe I'll just have
to get a router, it just seems OTT for a stand-alone PC to connect to
the 'net.

Keith

--
All messages scanned for viruses
by Etrust EZ Antivirus
My site: http://www.wherewelive.demon.co.uk

[Original] [Print] [Top]
Subject: static ip address
Author: Keith    Posted: 2005-08-29 11:14:38    Length: 990 byte(s)
[Original] [Print] [Top]
Crashdamage wrote:

QUOTE

Well, I didn't realize he was trying to use a friggin' USB modem.  The
1st thing he should do is use an ethernet connection and forget USB.
He just asked for a noobie-friendly way to set a static IP so I told
him.

It's now looking like the USB modem is in fact the problem here. I can
only use an ethernet connection via a router as the connection is PPPoA
using my 'phone line, but it looks like that is going to be the only way
  to get connected.

Thanks for everyones help
Keith

--
All messages scanned for viruses
by Etrust EZ Antivirus
My site: http://www.wherewelive.demon.co.uk

[Original] [Print] [Top]
« Previous thread
ISDN with BT Home Highway + Fritz! PCMCIA
Mandrake Linux Discussions
Page. 32
Next thread »
Beta3 - no Gnome desktop
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 12:23:08, cost 0.034174919128418 ms.