Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Need Help setting up Networking

Posted on 1998-09-24
7
Medium Priority
?
179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
URL rewriting in AWS CloudFront

A quick how-to guide to implement with a Lambda function!

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

670 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