Solved

Need Help setting up Networking

Posted on 1998-09-24
7
174 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 100 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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WEBSITE Capture via Linux Router 2 87
Embeded Linux on Router 9 99
Cant reach dockers repository (pull command) 11 86
Linux on a Dell PowerEdge 720 3 118
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now