LinuxQuestions.org
Review your favorite Linux distribution.
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 06-30-2001, 08:29 PM   #1
mkhan
Member
 
Registered: Jun 2001
Posts: 30

Rep: Reputation: 15
Routing Problem


Hi

i finnaly got my dual boot and network card working (phew)
thanks to all u guys who have helped me

now i have another problem LOL
becoz i run a dual OS (win2k and SUSE 7.0) i run vmware and win2k is my host OS, with SUSE as guest. i have a CABLE MODEM DHCP connection - not dialup

I wud like to know what IP, DNS and routing information i need to enter in SUSE network config program (YAST2) becoz i cant seem to access the internet. I seem to have a routing problem. If i enter the IP address that win2k is using i get a IP address conflict. I tried adding a 192.168.x.x. address but still no luck. Can someone plz tell me what i need to do and which files i need to edit?

i have tried looking at /etc/resolv.conf , /etc/rc.config

but im not sure what to do there. i have "ALL" the information from win2k (IPCONFIG) but im not sure HOW/WHERE/WHAT to enter.

Thanks for ur help!!

btw, i cant get DHCP to work neither

mkhan

Last edited by mkhan; 06-30-2001 at 08:41 PM.
 
Old 07-01-2001, 04:09 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
try
Code:
dhcpcd -h hostname ethN
where hostname is the 'client id' your isp gave you and ethN is the network adapter you are conncting with. (eth0, eth1....)

Once you have that working you can change your init scripts in /sbin/init.d/dhclient...

# The echo return value for success (defined in /etc/rc.config).
return=$rc_done
case "$1" in
start)
if test -z "$DHCP_DEVS" ; then
echo -n "No devices available/configured to start dhcp client on"
return=$rc_failed
else
echo -n "Starting service dhcp client on $DHCP_DEVS"
# wait for free interface during boot phase
# test ! $link = $base && sleep 3 # why this ??? hope there isn't
# any obscured reason for it.
for DEV in $DHCP_DEVS; do
ifconfig $DEV down &>/dev/null
ifconfig $DEV 0.0.0.0 up
done
# Waiting $DHCLIENT_SLEEP seconds for $NETDEV to stabilize...
sleep $DHCLIENT_SLEEP # Do we really need that???
if test "$DHCLIENT_SET_HOSTNAME" = "yes" ; then
# Use Option -D -H to set the host and domain name
startproc -t 5 -q /sbin/dhcpcd -D -H $DHCP_DEVS || return=$rc_failed
else
startproc -t 5 -q /sbin/dhcpcd $DHCP_DEVS || return=$rc_failed

fi
fi
echo -e "$return"
;;

In the highlighted parts you can add the -h option like this

Code:
startproc -t 5 -q /sbin/dhcpcd -h hostname $DHCP_DEVS
You would substitute your given client ID for the hostname.





Oh carp. It's a VMWare question.

Last edited by mcleodnine; 07-01-2001 at 04:11 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
routing problem DRagonRage Debian 8 09-21-2005 03:29 PM
routing problem DRagonRage Linux - Networking 1 09-21-2005 01:02 PM
Routing problem Infernal211283 Linux - Networking 3 02-28-2005 02:59 AM
Another Routing problem Bambi Linux - Networking 2 06-03-2004 03:13 PM
routing problem nowonmai Linux - Networking 2 10-09-2003 07:59 AM

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

All times are GMT -5. The time now is 07:27 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