Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need Help setting up Networking

Posted on 1998-09-24
7
Medium Priority
?
181 Views
Last Modified: 2010-03-18
Right now i have my computer set up to run WIn98 and LINUX. I have networking installed on WIN98 and want to install it onto LINUX. But I have no idea how to do it? I am running Red Hat 5.1. can someone please help me? what information do i need to set it up?
0
Comment
Question by:GreatOne
  • 4
  • 3
7 Comments
 
LVL 1

Accepted Solution

by:
jreese earned 400 total points
ID: 1586950
1. In your ~/bin directory, create 2 shell scripts: isp, and isp.chat. Edit the following to match your needs:

=====
#!/bin/sh
# isp script
/usr/sbin/pppd connect ~/bin/isp.chat /dev/cua1 115200 asyncmap 0 crtscts lock modem defaultroute
=====

=====
#!/bin/sh
# isp.chat script
chat -t120 CONNECT ABORT BUSY ABORT 'NO CARRIER' ABORT 'NO DIAL TONE' '' ATDT5551234 CONNECT "" ogin:-BREAK-ogin: username word: yourpasswd
======

2. call isp script: >isp

This will start the pppd daemon, call the isp.chat script, and logon to your isp.

Your ISP's DNS servers go in the file /etc/resolv.conf.

Any further questions, please let me know.

Jim

0
 

Author Comment

by:GreatOne
ID: 1586951
Jim,
I forgot to mention that I get network access via a LAN. So how would i set up linux for this? I'm guessing the two scripts you gave me won't do this.

Thanks
0
 
LVL 1

Expert Comment

by:jreese
ID: 1586952
You need to set up your Ethernet card with ifconfig. This is usually done in one of the scripts in /etc/rc.d. You can issue the following command to get things going:

/sbin/ifconfig eth0 209.1.2.3 broadcast 209.1.2.255 netmask 255.255.255.0

substituting your own proper numbers for the ip address, broadcast and netmask.

Then you need to add a default route:

/sbin/route add -net 209.1.2.0 netmask 255.255.255.0

Hope that helps some more. Let me know if you need more specific info, and I can tailor it for you.

Jim
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:GreatOne
ID: 1586953
Ok,
One last thing. I don't have a static IP address, it's dynamic. How would I get the broadcast value? I got the other values by using winipcfg in Windows.
Thanks
0
 
LVL 1

Expert Comment

by:jreese
ID: 1586954
The broadcast value is usually 255.255.255.0, but you should check with your ISP/network admin.

Jim
0
 
LVL 1

Expert Comment

by:jreese
ID: 1586955
Err--scratch that last comment. I meant that it's usually the same as your IP, but the last octet is 0. So, just use your IP address, substituting 0 as the 4th number.

Jim

0
 

Author Comment

by:GreatOne
ID: 1586956
Hey Jim,
Thanks for all the help. Everything works great. Here are your points, you earned it.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Integration Management Part 2
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question