   Can't get ADSL working in Linux.
  I think I''m spamming the Unix forum enough to post some of my Linux-related questions here (if a mod feels otherwise, they can move this thread). Anyway: I have a range of static IP''s and no prior experience with setting up an ADSL connection.xxx.xxx.xxx.1 is already in use.I set xxx.xxx.xxx.2 up on a Windows 2000 machine (the one I''m currently typing this on) and all I needed to do was to set the static IP, netmask, default gateway and a nameserver, and off I was.In Linux, however, neither setting up an xDSL connection graphically in X, nor answering all of the questions presented to me by adsl-setup seem to get the connection going. I moved the Windows machine to xxx.xxx.xxx.4 and am now trying to set one up in Linux on xxx.xxx.xxx.2. However, it just won''t start - all redhat-config-network says is: "". That''s right - it says NOTHING! Just that "Cannot activate device ppp0".I know for sure that I have a physical link to the modem (through a switch - Windows 2000 ignores this quite happily, just as one would expect). And yes, adsl-setup does set the connection on DHCP initially, but I overrode that in the graphical connection manager. Since I''m using the same netmask, nameserver (quite useless for the moment) and IP in Linux, as I did in Windows, I don''t see where I might have gone wrong. Furthermore - what''s up with adsl-setup reuiring me to enter a username and password for the connection?Cheers for any help on the matter   "Finishing in second place, simply means you are the first loser." - PouyaCat
  are you able to ping the windows machine?   ;  My linux knowledge is a bit rusty, but isnt ppp0 for dialup modems?  I am pretty sure it is.  My DSL on linux uses eth0, for my ethernet device. ;  You're right when you chose your adsl setup in the redhat-config-network  program you chose a pppoe connection or "my server reqires me to logon" or somthing like that.  delete the ppp0 connection (ppp0 is used for pppoe or dial up modems) in the redhat-config-network utility and see if your network card is detected if it is (usually if you have a "normal" internet connection it will be dhcp) use dhcp to set the ip on it and reboot (the adsl-setup program is acctually for pppoe connections seeing as a "normal" internet connection *should* work out of the box) then see what happens.  also if you are using fedora (or actually any of the redhat/fedora distros #fedora on freenet is a good irc channel to get your questions answered.*note sorry for the typos but I've had a bit of drink  [edited by - djkno3 on February 13, 2004 4:23:45 PM];  this may be assanine but when i was setting up 2 linux boxes on my network and trying to figure out how to set them up as clients to wingate i read somewhere that there actually exist some dsl modems that arent compatible with linux period.  my information may be out of date or flat out wrong, and for my ignorance i do apologize. ;  The thing is that another Linux box is already set up using pppoe in the same IP range. Setting up a regular ethernet connection on xDSL will not work (yes, I tried that already as well).djkno3: I have a range of static IP''s so I don''t think I can set up the connection via DHCP - that is, I will have to assign a specific IP address myself (I''ll stress again that it worked in Windows). What precisely do you mean by "see if the network card is detected"? I couldn''t be setting up a connection if it were''t... If it''s a reboot that is required to finish the xDSL setup, it would explain why it doesn''t work. However adsl-setup simply asks a couple of questions and then instructs me to ifup the interface. Redhat dot com suggests running adsl-start, which I''m presuming is the same thing...   "Finishing in second place, simply means you are the first loser." - PouyaCat;  How does your adsl modem connect to the computer? If it''s an ethernet connection, then you''ll need to set it up as a normal ethernet connection. Just tell the interface what its IP address is, and then possibly do route add default gw [ip] with the ip address of the router, if it''s done that way. If it connects via USB, then   you need to worry about pppoe. ;quote:Original post by sbennett  How does your adsl modem connect to the computer? If it''s an ethernet connection, then you''ll need to set it up as a normal ethernet connection. Just tell the interface what its IP address is, and then possibly do route add default gw [ip] with the ip address of the router, if it''s done that way. If it connects via USB, thenyou need to worry about pppoe.   Basically what you''re saying is that unless the connection goes over USB (in my case through an ethernet card), I don''t need to set up an xDSL connection? Then why didn''t my simple ethernet connection fire up as it''s supposed to when I tried it out?   "Finishing in second place, simply means you are the first loser." - PouyaCat;quote:Original post by Crispy  Basically what you''re saying is that unless the connection goes over USB (in my case through an ethernet card), I don''t need to set up an xDSL connection? Then why didn''t my simple ethernet connection fire up as it''s supposed to when I tried it out?   If your ADSL gets connected via ethernet, you should be able to set it up as a standard LAN connection. That is, edit /etc/hostname and /etc/dnsdomainname to the right hostname/domain name, edit /etc/resolv.conf and add the IPs of your primary/secondary DNS servers, and then ifconfig eth0 up; ifconfig eth0 <ip>. If that doesn''t work properly, something strange is going on. ;  ok then if your ethernet card is listed in the redhat-network-config program then you have to click on it and edit the settings to change the ip to one of your static ones.  delete the adsl one (like I said that is used for pppoe accounts) and then try it.  Setting it up like a "normal" network *should* work.  As for quote:If it connects via USB, then you need to worry about pppoe. that's compleatly WRONG you have to worry about pppoe (point to point protocol over ethernet) if you isp reqires it for your internet connection.  I have a normal ethernet connection and I have to use it, I have a usb network adapter for my laptop and I don't need pppoe to use it.  It's a thing that isp's are using to protect themselves and to screw the person that get's the internet ("They had your password so you are responsible for anything they did, hacking, file trading, internet costs, etc.")also another good site to check out is www.experts-exchange.com you will have to search it with google but they have very good answers to alot of questions there.   [edited by - djkno3 on February 15, 2004 5:08:16 AM]