LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-23-2005, 10:42 PM   #1
hemant_pandya
LQ Newbie
 
Registered: Sep 2005
Location: Akola - 444001 (India)
Posts: 5

Rep: Reputation: 0
Lightbulb Broadban Modem


Hi All Guru

I'm newbie to Linux. Learning robost OS.
I've Installed RH Linux on my m/c with 2
Lan Card one for Local net connecton (192.168.100.2)
and another for Broadband Modem (192.168.100.3)

Now my problem is When I configure the Modem thru
Internet Wizard or Network Utility it configur
correctlty and activated.

1. Unable to open web site say like yahoo or hotmail
2. Doesnot start automatically when m/c starts.
It gives error "configuration file ppp0 not found
3. Where I've to create ppp0 file and what is the contents
4. Modem gateway is 192.168.1.1 (provided by ISP)
5. How to create Dialup (as it is need in Win98).

I'm from India and ISP is BSNL and the Broadband Modem/Router
is HUAWEI SmartAX MT880.

Please guide me how & what to do.

Thanks
 
Old 09-25-2005, 06:54 AM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Did you say Modem/Router .. if it is router then you don't need dial up connection. If i'm not wrong your device has both modem and router in it your device dials to setup roting via router.

This is what your setup is :

Computer -> Router -> ISP G/W

Lan Card one for Local net connecton (192.168.100.2)
Code:
ifconfig eth0 192.168.100.2 up
and another for Broadband Modem (192.168.100.3)
Code:
You don't have to setup anything here
So basically setup ipaddress of linux
1. Unable to open web site say like yahoo or hotmail
Configure linux to route traffic via 192.168.1.1 router using command:
Code:
route add default gw 192.168.1.1 eth0
Next configure Linux as DNS client so you can browse site using names like yahoo.com visit
http://www.cyberciti.biz/nixcraft/vi...ns-client.html

Hope this helps.
 
Old 09-25-2005, 07:32 AM   #3
yogeshm02
Member
 
Registered: Jul 2004
Location: Chandigarh, India
Distribution: SuSe 10.1
Posts: 75

Rep: Reputation: 15

This doc will help: http://www.appaji.net/stuff/dataone/bdah.txt
Using help from it you can configure your modem/router to connect automatically when it is switched on and then just configure you lan card (i.e. eth0 which is connected with router) to have gateway as 192.168.1.1 (may be address of lan card eth0 also)



or may be refer to
http://www.linuxquestions.org/questi...hreadid=358512

Quote:
Next configure Linux as DNS client so you can browse site using names like yahoo.com visit http://www.cyberciti.biz/nixcraft/v...dns-client.html
I think you need not to do the above.

Last edited by yogeshm02; 09-25-2005 at 07:41 AM.
 
Old 09-25-2005, 08:37 AM   #4
runlevel0
Member
 
Registered: Mar 2005
Location: Hilversum/Holland
Distribution: Debian GNU/Linux 5.0 (“Lenny”)
Posts: 290

Rep: Reputation: 31
There seem to be various problems

First:

What is your broadband modem exactly?
I mean that we need to know of that what you have installed is a modem or a router. Indicating which brand it is could help, but as there are lots of hardware which can be both, modem and router what we need to know is the way your hardware is connected to ypur computer:
  • if it's USB it's a modem
  • if it's a LAN-card it's a router

If you are using and USB connection to your modem you will need the PPPoE module. As you don't tell us which version of Red Had you installed I would figure out it's an old one, as the new Fedora and the last Red Hats discovers broadband modems by themselves.

If this is your acse I would strongly suggest to download a more modern distributon, specially recommending Kubuntu or SUSE
with either of both you will have no complaints from your hardware.

Here in this thread by ruudra you can find more info on ADSL Modems.

But as I understand that your computer is connected to the ADSL hardware via an ethernet card I will suppose that your hardware is functioning as a router.

Router are dead easy to configure and you already did the first part.
You have an IP on your PC and know the one of the router (192.168.1.1, this is standard).

The fact is that these routers are configured by default so that they use 192.168.0.2 or 192.168.1.2 as your PC's IP address.

The good thing is that you can setup everything on your modem/router via a web server which runs in the router itself. to access it and configure stuff the only thing you need is to open a browser and type this URL:
That's all, if your TCP/IP is correctly set up you will find yourself browsing a web interface from where you can tweak most of the settings.

What you need to get internet access is to either changing the IP of the card you are using to connect to your router (from Linux) or from inside of this web interface give 192.168.0.3 permissions to access the router. Normally this will only mean adding this IP to your routers config using a web formulary.

Try this latter first and if you still have problems post again in this thread (many of us will get an automatic email so that we will be aware). In this post please indicate the following:
  • Linux distribution
  • kernel you are running [ uname -a ]
  • brand and type of you ADSL modem/router

This will be enough.

Regards and good luck
 
Old 09-25-2005, 10:40 PM   #5
hemant_pandya
LQ Newbie
 
Registered: Sep 2005
Location: Akola - 444001 (India)
Posts: 5

Original Poster
Rep: Reputation: 0
Dear All

Thanks for your help and really my problem is siolved.
Now I want to use it form my another m/c (connected directly)
Can I install proxy server ( as required in Windows) or any other
server which contains proxcy server.

Thanks
 
Old 09-27-2005, 05:43 AM   #6
runlevel0
Member
 
Registered: Mar 2005
Location: Hilversum/Holland
Distribution: Debian GNU/Linux 5.0 (“Lenny”)
Posts: 290

Rep: Reputation: 31
Yes you can install a proxy server if you want to.
But if your win machine is only using TCP/IP and you are planning to connect the Windows machine through the Linux machine you will not need a proxy server.

If what you want is a just to be able to connect to the internet from your win machine what you need is NAT (Network Address Translation) which makes that both your machines share the same 'external' IP.

If your ADSL hardware is working as a router you can even do it from inside the router (they call it NAPT there) which is pretty straightforward. The only thing needed is that both machines are connected directly to the router (via ethernet or WiFi).

From the Linux machine you can enable NAT with the following code.
Code:
 modprobe iptable_nat
 /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
 echo 1 > /proc/sys/net/ipv4/ip_forward
After this go to the win machine and setup the Linux machine as default gateway (the Linux machine, not the router).
 
Old 10-25-2005, 04:21 AM   #7
hari77gct
LQ Newbie
 
Registered: Oct 2005
Location: India
Posts: 5

Rep: Reputation: 0
Hi hemant_pandya,

I am facing the similar problem, for me it doesnt work even after settin gthe gatway. It says the gateway is not reachable. Can you pls let me know wht is your configuration and kernel verison.
I am using 2.6, it automatically detects the router+model

Thanks,
Hari
 
Old 10-30-2005, 12:31 AM   #8
hemant_pandya
LQ Newbie
 
Registered: Sep 2005
Location: Akola - 444001 (India)
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up

Hi Hari

Pls set up your Boradband Modem/Router with


ADSL SETUP

if want to start & Stop manually

ADSL START
ADSL STOP

Hope this will help

Hemany Pandya
 
  


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
difficulties in modem instalation Agere systems PCI soft modem mcstanoye SUSE / openSUSE 2 02-01-2007 10:48 AM
modem driver for Internal 56Kbps V.92 Data/Fax/Voice Modem sumathi Linux - Hardware 1 08-05-2005 04:12 AM
SUSE 9.2 detect my [B]ADSL USB-Ethernet Modem-Router [/B] as a [B]Dial up modem[/B]. myprecius Linux - Hardware 0 06-27-2005 09:21 AM
modem suddenly not working, slackware 10, netcomm in5699 56k modem ludeKing Linux - Hardware 0 07-27-2004 09:44 PM
USR 56k ext modem in RH9/Gnome - finds wrong modem . . . . emuub Linux - Networking 1 10-22-2003 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:13 PM.

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