Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

[Solved] Dsl help! Desperate, Please help!

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
18 posts • Page 1 of 1
Author
Message
realist2
n00b
n00b
Posts: 9
Joined: Fri Jan 28, 2005 6:18 pm

[Solved] Dsl help! Desperate, Please help!

  • Quote

Post by realist2 » Fri Jan 28, 2005 6:45 pm

Ok I have exhausted all attempts at getting emerge to download sources, because I can't get my internet connection up. I have googled this problem so much over the last few days that they should send me stock in the company. Most of the info out there says use adsl-setup, start, stop, etc... but no info on what to do if it goes wrong, which in my case it has. I am still somewhat of a newbie in the command line area so this right now is even harder than it otherwise would be for me. Give me a gui and a good text editor and i can usually, eventually find my way. But right now I have only the command line and I need help. So here is the situation, I have installed 2004.3 with a networkless install, mainly because when I started the installation I didnt want to install anything at all over the internet. I have since changed my mind. I have a rt8139 nic, which is working fine. The static ip i had setup previously was so I could have simple nfs sharing setup up between two comps, one is FC3. I have since changed the configuration so that shouldnt be the issue. Now i just want to set up the gentoo box directly to my dsl "modem", no networking or anything else, just want to download my distfiles and such to complete this installation. I have already emerged rp-pppoe and even dhcpcd though i dont know if i need dhcpcd or not. My isp uses pppoe and it doesnt look like anything at all special. The FC3 machine was working fine, but then again it had my nice, do it all for me, gui. When i do adsl start, i usually get an error after about 30 seconds basically telling me it timed out, the exact words i dont know off hand as I am at work now with a windoze machine. And the thing that is the worst about it is that I get locked out of my dsl connection for any computer that I may try to connect afterwards for awhile. I have seen something about possibly having to change my nic to half duplex or something like that. Perhaps that is the issue but I dont know if I have to do that or not nor how to do it. But most likely it seems to me to have something to do with authentication issues, perhaps something I need to set up differently on my box, but what? And btw the password and username is correct undoubtledly, but perhaps the syntax isnt right? I would post my config files, but I am not sure what is relevant anyways, even if I were at home. So thanks in advance for any help I get and I reeeeeeaaaaallllly hope that I can get this online soon.
    Last edited by realist2 on Mon Jan 31, 2005 5:46 pm, edited 1 time in total.
    Top
    Lord Spector
    Guru
    Guru
    User avatar
    Posts: 304
    Joined: Tue Oct 28, 2003 11:04 am

    • Quote

    Post by Lord Spector » Fri Jan 28, 2005 6:52 pm

    have you selected ALL the modules you need in your KERNEL ?
    I don't think they are enabled by default...
    It's all about open source
    Top
    realist2
    n00b
    n00b
    Posts: 9
    Joined: Fri Jan 28, 2005 6:18 pm

    • Quote

    Post by realist2 » Fri Jan 28, 2005 6:54 pm

    eth0 is up. the module for the nic is in there somewhere. so the nic is definitely working, but do you mean modules for the pppoe? if so i am not sure i would have to look.
    Top
    Lord Spector
    Guru
    Guru
    User avatar
    Posts: 304
    Joined: Tue Oct 28, 2003 11:04 am

    • Quote

    Post by Lord Spector » Fri Jan 28, 2005 7:03 pm

    yes the pppoe modules were the ones I had in mind...

    you need to enable:

    Device drivers--> Networking support -->

    (*) PPP (point-to-point)
    (*) PPP filtering
    (M) PPP async
    (M) PPP sync

    I think this should do it... if you have a 2.4 kernel the place will be a bit different I think...
    It's all about open source
    Top
    realist2
    n00b
    n00b
    Posts: 9
    Joined: Fri Jan 28, 2005 6:18 pm

    • Quote

    Post by realist2 » Fri Jan 28, 2005 7:09 pm

    I used the 2.6 kernel and if I had to include the pppoe modules I probably didnt do it, because before gentoo I wasnt familiar with pppoe. So if that is the case then, that would affect the output to the dsl and authentication, like not be sending it in the right "format" so to speak? I am trying to understand the possible solutions I guess a little bit. It would make some sense though if my limited comprehension is right.
    Top
    Lord Spector
    Guru
    Guru
    User avatar
    Posts: 304
    Joined: Tue Oct 28, 2003 11:04 am

    • Quote

    Post by Lord Spector » Fri Jan 28, 2005 7:25 pm

    no if you don't enable these modules you get a .......................TIMED OUT

    it gives you no error if you don't have the right modules :)
    I had the same problem so belive me...
    It's all about open source
    Top
    realist2
    n00b
    n00b
    Posts: 9
    Joined: Fri Jan 28, 2005 6:18 pm

    • Quote

    Post by realist2 » Fri Jan 28, 2005 7:30 pm

    Lord Spector wrote:no if you don't enable these modules you get a .......................TIMED OUT

    it gives you no error if you don't have the right modules :)
    I had the same problem so belive me...
    I wish I were at home in front of it right now, because I have actually gotten it to give me all kinds of different errors , doing things that were probably wrong on my part though. But I am pretty sure that when I do adsl-start that there is a little more to the error message. And without being there to see it right now I might not be able to help you help me. But be sure I will try the kernel thing when I get there. It cant hurt.
    Top
    realist2
    n00b
    n00b
    Posts: 9
    Joined: Fri Jan 28, 2005 6:18 pm

    • Quote

    Post by realist2 » Fri Jan 28, 2005 7:42 pm

    One other thing that it does btw. I do get ppp0 up also which is what is supposed to happen, but it does not receive packets back when i ping, thats with ip or with url. And I think it has me a wierd ip addy of 10.10.something, when it should probably be 209.something. would that happen if pppoe is not in the kernel?
    Top
    realist2
    n00b
    n00b
    Posts: 9
    Joined: Fri Jan 28, 2005 6:18 pm

    • Quote

    Post by realist2 » Fri Jan 28, 2005 8:13 pm

    Well anyways. Like I said I will try loading the kernel module or recompiling or whatever with pppoe support. You know I heard Gentoo had good user forums and a good community, and your response time was actually pretty quick. I do appreciate it greatly. It was not something I had thought of though it was probably somewhat obvious to check it out. So thanks again and if you or anybody else has any other bases that I may need to cover, please let me know. I like to have as many options as possible covered. Thanks again Lord Spector. javascript:emoticon(':D')
    Very Happy
    Top
    Lord Spector
    Guru
    Guru
    User avatar
    Posts: 304
    Joined: Tue Oct 28, 2003 11:04 am

    • Quote

    Post by Lord Spector » Sat Jan 29, 2005 9:02 am

    ppp is a virtual interface...

    So you need to set the ethX card that is connected to your DSL modem to blank settings (don't set anything in /etc/conf.d/net for ethX)

    And also remove the card from rc so that it doesn't come up at boot because pppoe will bring it up on its own...(rc-update del net.ethX default)

    Oh and don't set anything for the ppp interface ! It will receive its IP from your DSL modem

    Hope this gets you online
    It's all about open source
    Top
    taipan67
    l33t
    l33t
    User avatar
    Posts: 866
    Joined: Sat Dec 04, 2004 10:04 am
    Location: England (i'm told...)

    • Quote

    Post by taipan67 » Sat Jan 29, 2005 9:34 am

    If your ethernet card's driver is loaded, entering the command 'ifconfig eth0' should produce something like

    Code: Select all

    root@gentoo private # ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr 00:08:A1:52:5C:1C
              inet addr:192.168.*.*  Bcast:192.168.*.*  Mask:255.255.255.0
              UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:2898 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1765 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1978294 (1.8 Mb)  TX bytes:176440 (172.3 Kb)
              Interrupt:9 Base address:0xc000
    
    ...If it doesn't, insert the driver with 'modprobe 8139too', or if that is the wrong one 'modprobe 8139cp'.

    Then, enter the command 'dhcpcd eth0', & see if you can connect to http://www.gentoo.org/ - or any other site, for that matter. That's what works for me, so i've never had to use 'rp-pppoe'... (EDIT: You might need to activate the modem itself with your username & password, but if you've done that before, it should be okay)
    "Anyone who goes to see a psychiatrist should have their head examined!"
    Top
    realist2
    n00b
    n00b
    Posts: 9
    Joined: Fri Jan 28, 2005 6:18 pm

    • Quote

    Post by realist2 » Sat Jan 29, 2005 9:41 pm

    Okay so I did get a chance to recompile my kernel, added modules for pppoe and some ppp stuff too I think, once again I am at work today, but I will be heading home soon enough so that I can get a better look again soon. I did get online with it so that worked, but with one little issue. Well actually two issues, but the one I figured out. I had to do modprobe for I think pppoe support, which is my fault because I loaded it as a module in my kernel and then it "dialed" up and I was able to ping yahoo.com to test dns and all. No time to do and emerging yet. But the last problem is the one that gets my wife mad, and if anybody is married you know thats a deal breaker. When I do adsl-stop it says I am disconnected and in fact I am, sort of. PPP0 goes down like it should and eth0 loses its ip address, but the modem is still connected, I believe to the isp. My reason to believe this is that when I then go ahead and try to connect with that blasted windows machine again, I get an error saying it can't connect. Basically I am once again locked out until the connection that I just made with my gentoo box drops out, which takes a couple hours or so it seams. Does anyone think this is an issue with something my gentoo box is doing or is this an isp thing?
    Top
    Lord Spector
    Guru
    Guru
    User avatar
    Posts: 304
    Joined: Tue Oct 28, 2003 11:04 am

    • Quote

    Post by Lord Spector » Sat Jan 29, 2005 10:40 pm

    I don't understand the problem... Your Gentoo box is offline (turned off) and you still can't connect ? If this is the case than the problem is outside your network.

    And is the windows system on the same PC as the linux one ? If not you can just route your connection...
    It's all about open source
    Top
    WarMachine
    Apprentice
    Apprentice
    Posts: 181
    Joined: Mon Jul 15, 2002 7:57 pm

    • Quote

    Post by WarMachine » Sat Jan 29, 2005 11:04 pm

    Are you using rp-pppoe to connect? If not I'd suggest it, it's very easy and stable. http://www.gentoo.org/doc/en/handbook/h ... 1#rp-pppoe
    How exactly are you disconnecting?
    Who is your DSL provider and what modem do you have?
    Top
    realist2
    n00b
    n00b
    Posts: 9
    Joined: Fri Jan 28, 2005 6:18 pm

    • Quote

    Post by realist2 » Sun Jan 30, 2005 2:04 am

    I have a gentoo box with one nic in it. what is happening is that i am using two different computers. so after i have disconnected my gentoo box, and try to connect the windows box to the dsl, it won't "dial" up anymore, for a couple hours. so i dont know if the gentoo box is actually disconnecting the way that it should even though ppp0 goes down and all. i dont know if it sends a signal to the isp or just what is supposed to happen. and i have acs in alaska, with a nortel NTEX35, everything sounds pretty much like the other dsl providers i have read about but they do not support linux at all. I am using adsl-start and adsl-stop commands. I dont really understand the routing through ppp thing that rpppoe uses or what is fully going on as it has somewhat confused me. I think I'm pretty fortunate to actually be online thus far. And routing my connection?? not sure I understand. I thought i would need two nics in my linux box for that.
    Top
    Lord Spector
    Guru
    Guru
    User avatar
    Posts: 304
    Joined: Tue Oct 28, 2003 11:04 am

    • Quote

    Post by Lord Spector » Sun Jan 30, 2005 9:28 am

    yes you would need two nics...
    One connected to the modem and one connected to your windows box.
    If you don't have a problem with leaving your gentoo to basically run all the time and act as a router for your network...

    As far as your end of the connection goes; I think it's working as it should.
    It's all about open source
    Top
    realist2
    n00b
    n00b
    Posts: 9
    Joined: Fri Jan 28, 2005 6:18 pm

    • Quote

    Post by realist2 » Mon Jan 31, 2005 5:43 pm

    Yes I guess it probably is. Thanks for your help!
    Top
    skyfolly
    Apprentice
    Apprentice
    User avatar
    Posts: 245
    Joined: Wed Jul 16, 2003 2:48 am
    Location: Dongguan & Hong Kong, PRC
    Contact:
    Contact skyfolly
    Website

    • Quote

    Post by skyfolly » Fri Feb 18, 2005 5:38 am

    Lord Spector wrote:ppp is a virtual interface...

    So you need to set the ethX card that is connected to your DSL modem to blank settings (don't set anything in /etc/conf.d/net for ethX)

    And also remove the card from rc so that it doesn't come up at boot because pppoe will bring it up on its own...(rc-update del net.ethX default)

    Oh and don't set anything for the ppp interface ! It will receive its IP from your DSL modem

    Hope this gets you online
    Whoa!!!!!!!!!! Perhaps that's what I missed out! was trying to set up my server as a router one day, just for learning, all attempts failed. i think that part in /etc/conf.d/net failed me.

    anyways, i have routers, so i was relunctant to find out why.

    :oops:
    I am the only being whose doom
    No tongue would ask no eye would mourn
    I never caused a thought of gloom
    A smile of joy since I was born.
    emily bronte
    Top
    Post Reply

    18 posts • Page 1 of 1

    Return to “Networking & Security”

    Jump to
    • Assistance
    • ↳   News & Announcements
    • ↳   Frequently Asked Questions
    • ↳   Installing Gentoo
    • ↳   Multimedia
    • ↳   Desktop Environments
    • ↳   Networking & Security
    • ↳   Kernel & Hardware
    • ↳   Portage & Programming
    • ↳   Gamers & Players
    • ↳   Other Things Gentoo
    • ↳   Unsupported Software
    • Discussion & Documentation
    • ↳   Documentation, Tips & Tricks
    • ↳   Gentoo Chat
    • ↳   Gentoo Forums Feedback
    • ↳   Duplicate Threads
    • International Gentoo Users
    • ↳   中文 (Chinese)
    • ↳   Dutch
    • ↳   Finnish
    • ↳   French
    • ↳   Deutsches Forum (German)
    • ↳   Diskussionsforum
    • ↳   Deutsche Dokumentation
    • ↳   Greek
    • ↳   Forum italiano (Italian)
    • ↳   Forum di discussione italiano
    • ↳   Risorse italiane (documentazione e tools)
    • ↳   Polskie forum (Polish)
    • ↳   Instalacja i sprzęt
    • ↳   Polish OTW
    • ↳   Portuguese
    • ↳   Documentação, Ferramentas e Dicas
    • ↳   Russian
    • ↳   Scandinavian
    • ↳   Spanish
    • ↳   Other Languages
    • Architectures & Platforms
    • ↳   Gentoo on ARM
    • ↳   Gentoo on PPC
    • ↳   Gentoo on Sparc
    • ↳   Gentoo on Alternative Architectures
    • ↳   Gentoo on AMD64
    • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
    • Board index
    • All times are UTC
    • Delete cookies

    © 2001–2026 Gentoo Foundation, Inc.

    Powered by phpBB® Forum Software © phpBB Limited

    Privacy Policy

     

     

    magic