LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-27-2005, 08:33 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
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 ?
 
Old 09-27-2005, 12:09 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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
 
Old 09-29-2005, 03:44 AM   #3
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
run netconfig & give whtever ip & gateway or necessary info to it.

& after that do restart network service for your changes to come into effect.
 
Old 09-29-2005, 04:02 AM   #4
sikofitt
LQ Newbie
 
Registered: Sep 2005
Location: brentwood, ca
Distribution: kubuntu desktop, ubuntu server, debian desktop
Posts: 21

Rep: Reputation: 15
are you using a router? or two direct connections?
 
Old 09-29-2005, 05:59 AM   #5
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
two direct connection there is no router.
 
Old 09-29-2005, 09:47 AM   #6
JK_Lille
LQ Newbie
 
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
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
 
Old 09-30-2005, 01:09 AM   #7
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
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.
 
Old 09-30-2005, 01:39 AM   #8
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Just to into the Mandrake Control Centre - its all in there in the GUI
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot set LD_LIBRARY_PATH in .cshrc (able to set other env variables) senthilpr_in Linux - Newbie 4 02-26-2007 12:46 PM
lm10.0 gateway is set but when I reboot I have to set the gateway rharvey32 Mandriva 8 02-13-2006 01:35 PM
Set the path systemwide/Set the path for a user with Slackware jayhel Slackware 1 06-12-2005 12:24 AM
xfree86 set to 0. It should be set to -10. jimsac Linux - Newbie 0 05-22-2004 06:08 AM
How to view set-user-ID and set-group-ID Xris718 Linux - General 7 01-10-2004 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration