LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to set ip. (https://www.linuxquestions.org/questions/linux-networking-3/how-to-set-ip-367483/)

bruse 09-27-2005 08:33 AM

how to set ip.
 
i have two systems both are connected by direct cable.
now how to set up a ip address and route for better home networking ?

david_ross 09-27-2005 12:09 PM

I think mandrake has a tool called netconf (or maybe netconfig) or if you just want to set it as a one off:
ifconfig eth0 192.168.1.1

amitsharma_26 09-29-2005 03:44 AM

run netconfig & give whtever ip & gateway or necessary info to it.

& after that do restart network service for your changes to come into effect.

sikofitt 09-29-2005 04:02 AM

are you using a router? or two direct connections?

bruse 09-29-2005 05:59 AM

two direct connection there is no router.

JK_Lille 09-29-2005 09:47 AM

I got a slighty different problem (apart from beeing stuck in a french city where every keyboard is mixed up so it takes me hours for typing...)... or rather two:

First of all, I'm a new linux user and not yet used to the system. A friend of mine istalled a current version of Debian on my laptop which now works fine, but won't connect to the wireless lan (PCMCIA Wireless Card: Netlink DWL G650+, seems to work properly) at the college campus. I got the WEP encryption key and and changed the settings (on KDE, I'm not yet into console using) as I thought it should work. Yet, I didn't find an option to receive the IP automatically from the host, which seems to be required. How can I tell my system to do so?

Second problem is rather unimportant.... I'd like to connect my desktop computer (Win XP, shame on me) with my Debian laptop via wireless and I habe no idea how to do so.

By the way:The friend who installed Debain is now about 500 km away and won't answer my mails... so I thought I'd drop by here and see if anybody can help me.

Thanks a lot in advance!

JK

bruse 09-30-2005 01:09 AM

you better to start a new thread for unified approach.
but okey.As for a fixed ip address that u have asked..jus u have to look for a script ..
[staff@localhost staff]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=10.25.240.1
ONBOOT=yes
MII_NOT_SUPPORTED=no
WIRELESS_ENC_KEY=""
NEEDHOSTNAME=yes
[staff@localhost staff]$

this is my file.U just modify to ur settings.

tkedwards 09-30-2005 01:39 AM

Just to into the Mandrake Control Centre - its all in there in the GUI


All times are GMT -5. The time now is 02:07 AM.