LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-04-2006, 02:38 PM   #1
rcm_linux
LQ Newbie
 
Registered: Feb 2005
Posts: 19

Rep: Reputation: 0
Question how to access adsl on Mandriva06?


I have posted this msg in one of the forums of this site.But unfortunately replies havent solved my problem.I hope moderator will approve this msg here because it relates with Mandriva06.

Can anyone tell me how do i access adsl internet on Mandriva06?I have two problems regarding it-1)mandriva stops at startup while detecting 'ppp0',i have to enable interactive startup and then when i choose not to detect ppp0 it goes furthur.Tt gives following error-'pap/chap authentication
failure"(or something like that)
2)I am able to configure adsl through control centre but how do i save the connection?I mean like in kppp we can save the configured connections and access it later from start menu.
I am using smarttax mt882 modem/10-100 enthernet card.
Regards,
Raajiv
 
Old 02-04-2006, 04:07 PM   #2
jib2
Member
 
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

Rep: Reputation: 30
Did you configure your modem with the web-based application manager ( http://192.168.1.1 in your browser's address bar) ?
Then, you just have to select "connect to LAN" in the MCC.
 
Old 02-04-2006, 07:10 PM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by jib2
Did you configure your modem with the web-based application manager ( http://192.168.1.1 in your browser's address bar) ?
Then, you just have to select "connect to LAN" in the MCC.
Which is exactly what I have to do. My modem/router device actually manages the connection. So I just apply the LAN settings for the IP range that the modem/router is set to (as jib2 says, something like 192.168.x.x depending on the range that is either default for the device or whatever you might have changed it too i.e. if the actual device is 192.168.0.1, then the pc's IP might be 192.168.0.2 etc etc).

regards

John
 
Old 02-05-2006, 02:11 AM   #4
rcm_linux
LQ Newbie
 
Registered: Feb 2005
Posts: 19

Original Poster
Rep: Reputation: 0
Im afraid i dint get it.I can dial my connection thru that network wizard.But how do i locate it for furthur use?
Can i carry out following things by dial-up connection and then can use adsl?
plz tell me how do i solve that ppp0 initialzation each time mandriva starts??
Raajiv
 
Old 02-05-2006, 03:52 AM   #5
rcm_linux
LQ Newbie
 
Registered: Feb 2005
Posts: 19

Original Poster
Rep: Reputation: 0
I really cant understand all this.
Today i again attempted to configure adsl using drakconnect.It wasnt able to connect.I tried LAN connection,didnt change anything during wizard,i got automatically connected to adsl.
Can anyone tell me what is happening,and what should i do now to manage connections.Plz tell me what the hell is this ppp0??I would also request u to tell me how do i enable firewall for my adsl connection?
Raajiv
 
Old 02-05-2006, 04:47 AM   #6
jib2
Member
 
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

Rep: Reputation: 30
Your connection parameters are handled by your modem, not by Mandriva.

- open your browser, and type http://192.168.1.1 in the address bar. Type in the login ('admin') and password ('admin'). It should get you to your modem's web-based configuration tool.
- You have to fill the modem configuration tool with whatever information your ISP provided you : user name, password, and so on...
Have a look at http://my.opera.com/boxopen/homes/bl...ser_Manual.pdf
(Section 3)

Your modem : IP 192.168.1.1 subnet 255.255.255.0

Then run the MCC, section Internet, select "connect to LAN" and follow the wizzard.
Your computer will have an IP address like 192.168.1.2 (subnet 255.255.255.0), the gateway being 192.168.1.1

The parameters are saved on both the modem and the computer so you'll be automatically connected on boot.

Last edited by jib2; 02-05-2006 at 04:53 AM.
 
Old 02-05-2006, 09:43 AM   #7
rcm_linux
LQ Newbie
 
Registered: Feb 2005
Posts: 19

Original Poster
Rep: Reputation: 0
This address doesnt open on my system.
I have this document and had read but didnt understood anything.However in MCC there's a section which allows u to change those subset,ip blah blah.Is that OK?
Now i can dial my adsl thru a icon which resides on right hand side.its of a wire and some square in middle of that wire,when connected it shows sparkle.
I was able to dial only when i configured LAN but i didnt change anything on wizard.
I hope thats ok?Only problem is it doesnt show data transferred and time too.
Raajiv
 
Old 02-05-2006, 06:43 PM   #8
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Well I'm confused as hell now. I've never heard of any adsl connection being "dialled". Thats what happens with dial up modems. Adsl connections are usually "always on". hence the router/modem is what controls and manages the connection. It's quite usual for the internal browser based control panel for these devices to be accessed by typing in the IP address of the device (which, as has already been mentioned is one from an internal IP address range like 192.168.xx.xx, though it depends on what the device is set too, that should be in any manual that came with the device unless you've changed it).

the browser based control panel is what you may have configured when you installed the device, though if you had windows then invariably, the device comes with a CD that contains the setup software for windows install. So it doesn't matter if you have a dynamic service which would provide the dhcp server for getting the IP address or a static IP service.

The pc/system is connected to the modem/router via an ethernet card ??? If so, then you'd just use the LAN settings i.e. if the modem/router device uses, for example the 10.0.xx.xx range, say a default of 10.0.0.1 then thats the gateway address (sometimes labelled as GW). The main system has to be a different number, for instance 10.0.0.2 (and if you have any other devices connected to the modem/router if it's a multi port model, maybe a network printer for example then that has a different address again, maybe 10.0.0.3).

When it comes to the numbers for a name server (or DNS server) I just use the ones that where provided by my ISP, it saves me the trouble of setting up my own DNS server and all that nonsense.

If it's a USB modem instead, then it may use a ppp (point to point protocol).

Oh, and the wire/connection/sparkel icon is the network connection icon if you hover over it with cursor it should say something similar to "Network is up on interface eth0". You're certainly not "dialling" anything. But the sparkle and the connected plug is telling you that it's connected. It maybe "eth0" or "eth1" or higher, it doesn't matter.

If you open a terminal/konsole (the icon that looks like a black monitor screen) you should have a CLI prompt. You need to do the "su" command (without the quote marks), hit enter and then put in your root password and hit enter.

the last bit of the prompt should have changed from a $ sign to a # sign, of so, type in "ifconfig", again without the quote marks and hit return. It should give you some output in (probably) 2 sections one part marked as eth0 (or eth whatever the system see's your network card as), below that (maybe above, my system shows it below) another section marked lo. If it's like that, then the network card is already configured, thats shown in the eth0(or whatever) part, the other "lo" bit is the loopback section.

The eth? part should show you an IP address that is being used to connect the system via the network card to the modem/router.

If so, try the ping command. You can either try a plain language url or an IP address - if the IP address from the output of ifconfig command is, say 10.0.0.2 then it's a good bet that the router/modem device is 10.0.0.1 so the ping command for that would be
Code:
ping -c 3 10.0.0.1
that would ping the router/modem device 3 times and output something like this
Quote:
bash-3.00$ ping -c 3 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.440 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.432 ms
64 bytes from 10.0.0.1: icmp_seq=3 ttl=64 time=0.430 ms

--- 10.0.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.430/0.434/0.440/0.004 ms
bash-3.00$
You could also try the same ping command, but instead of an IP address, try "ping -c 3 www.yahoo.com" (again, no quotes). Thats trying to ping an external address - you may get a response that asks you which IP address you want to ping as yahoo has quite a few, but if you get that, it should be straight foward.

Oh and maybe it's better if you don't try and use misleading terminology like "dialling" for devices that don't do that, it's very confusing and unless someone follows exactly what you might mean, they might just not bother replying - which doesn't help you any.

good luck

regards

John

p.s. if you have some sort of login facility with your service provider, then they may well have their DNS IP numbers in a help or faq type guide (mine does). That way you can just reconfigure the LAN settings in the mandrake/mandriva control panel - you should only need the IP address for your system, the IP address for the modem router (the gateway address) and the DNS server IP address (there maybe more than one, and they may have very similar or very different numbers). Oh and I hope you haven't enabled a firewall yet - thats a whole new bag of snakes. You can worry about that after you've got the system connection to the internet.
 
Old 02-06-2006, 08:55 AM   #9
rcm_linux
LQ Newbie
 
Registered: Feb 2005
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for ur reply.I understood a small bit of it but thanks anyways.
Dialling means,of course,i need to enter user name and password and then hit 'Connect' in Windows.So isnt it is dialled?It takes just a sec or two but still i thought it is being dialled.
I have an stupid chinese brand adsl modem and my isp is so careless it doesnt provide much support nor online nor offline.I think Linux is quite alien for them.So let me describe it-I am using it on windows-i did not need any software or drivers.Neither for modem nor for card.
My tel PSTN cable runs to modem.Modem is then connected to Ethernet card.It is also possible to connect it thru usb.I hope u got overview what exactly my hardware is.
IMPORTANT THING IS I CAN CONNECT THROUGH MY ADSL CONNECTION.I dont know whats happening and hows happening.I configures adsl setup wizard 5-6 times and LAN wizard once and now i am able to use it.Sometimes it work and sometimes not.But after 2-3 tries and some hacking in MCC makes it work.(That sparkled icon notifies it)
Only thing i want is their any problen if i use it this way and can i have that configured connection easily available (as KPPP)
I have option in LAN wizard to configure that DNS,Subset blah blah.Right now there's something filled int here which i believe is ip addresses of my dial-up connection.But both my dial-up and adsl works.
I apologize if im confusing u again!
Raajiv
 
Old 02-06-2006, 08:59 AM   #10
rcm_linux
LQ Newbie
 
Registered: Feb 2005
Posts: 19

Original Poster
Rep: Reputation: 0
I have enabled firewall again through MCC.I read ur reply 3-4 times and now I should only pay attention to LAN settings,isnt it?coz my modem is connected to PC via Ethernet card.
I will try out ur steps again.
 
Old 02-06-2006, 04:16 PM   #11
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
The dialling thing? No, a dial up modem, does exactly that. It actually dials the number for the ISP. The adsl doesn't do that, it's always on (the service that is), hence the suggestion about configuring the LAN settings. Sure theres no problem using the dial up as well, though I understand that some dial up modems can be a real pain to configure under linux (to appreciate it, you'd have to google for "winmodems" i.e. the vast majority of internal modems are known as winmodems which means that they are not proper modems, but software modem apps that work like a proper modem and are mainly used under windows - getting drivers for some can be problematic - a big PITA).

Anyhow, your adsl. So it looks like it's connecting ? If so then great. I presume that you can actually surf under linux now ? if so, excellent also. As far as the adsl modem is concerned, if it works OK via ethernet, brilliant - just because it may be able to do connections via USB, doesn't mean that it's worth the effort. If you have a name/number for it (the model that is), then I'd go to googles linux resource and then search with the model/number/name to find out about it as much as you can - from a linux perspective.

There should be no problem leaving it on/connected. Anything you can find out about it, well it may tell you if it has a hardware firewall built in (lots do) and how to set it up. Software firewall under linux are good, but it can take a fair bit of tinkering to get them right.

Sorry if my posts seem a bit technical. In truth, they're not. I'm just a "rank amateur" who's been meddling with linux (various distros, but mainly mandrake/mandriva) for about 4 years. I'm guessing that I might have forgotten what it was like to try and decypher tech stuff, when I had only just started (which I did by accident really). Though in truth, posting via forums, well you have to try to get all the relevant bits in, because it certainly ain't no IM or phone call

Also, don't bother even thinking about calling your ISP and asking anything about Linux. Most of them haven't got a clue. They answer your questions from a "crib sheet", with multi choice answers. If you're really lucky, you might have someone there who also meddles with linux, but usually not (it don't matter much where you are).

So as long as it's working, just spend your time digging around LQ to see what's going on. What others are doing, asking about etc. For mandrake/mandriva, theres the distros forum that has a mandrake/mandriva section for distro specific questions. Plus theres also mandrivausers as well.

Don't be in too much of a rush to try and learn everything - It ain't gonna happen, theres just too much to learn. You don't have to learn up loads of command line stuff, most of it can be done by GUI, but it can be handy to learn the basic commands, once you get your head round things it can be a lot faster to do stuff with CLI.

regards

John
 
Old 02-07-2006, 04:27 AM   #12
rcm_linux
LQ Newbie
 
Registered: Feb 2005
Posts: 19

Original Poster
Rep: Reputation: 0
Question

I tried ifconfig eth0 didnt have any ip adresses.lo had two- inet addr & mask.while 3rd section named ppp0 had three-inet, addrmp-t-p and mask
All of them were different.my ping command was responded as well.

Thanks for ur support.Plz tell me once configured(LAN or adsl)where to find it for furthur use.
I mean for dial up I just go yo Start->Internet->Remote Access->KPPP
How do i retrieve my lan/adsl connection once configured.Thanks a lot.
Raajiv
 
  


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
How to use adsl on Mandriva06? rcm_linux Linux - Newbie 3 02-06-2006 11:32 AM
How to access adsl on Mandriva06? rcm_linux Linux - Hardware 4 02-05-2006 03:19 PM
ADSL internet access with Suse 9.2 Nizhni Linux - Newbie 19 01-18-2005 09:08 PM
Cant access apache with through ADSL virtual server Mr_Minh Linux - Networking 3 01-30-2004 01:06 AM
freeswan + ADSL+Internet access PcHammer Linux - Networking 0 10-17-2003 04:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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