This is a discussion on problems switching from DSL to Cable internet with Red Hat 9 within the Linux Networking forums, part of the Linux Forums category; Hi, I just switched from DSL (Bell Sympatico) to Cable internet (Cogeco) because Cogeco had a 5 month special and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I just switched from DSL (Bell Sympatico) to Cable internet (Cogeco) because Cogeco had a 5 month special and they up'd their speeds to 5 Mbps... They configured my computer to work under WinXP, but I have a dual boot system running Red Hat 9. I didn't have too many problems getting cable internet to work with Red Hat 9, but now I seem to be running into other problems that I don't like. Hopefully someone can point me in the right direction. First, instead of booting up to the welcome screen saying "localhost.localdomain" it displays the MAC address for my network card. Second, in the shell it displays the MAC address instead of "localhost". (eg. root@x1-6-00-50-ba-a4-52-41 instead of root@localhost). Third, when I try to start up Apache for some personal website development I get an error. It doesn't seem to read the hosts file properly. I get the error httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName However, my /etc/hosts file says: 127.0.0.1 localhost.localdomain localhost 127.0.0.2 digitalmeister testsite I'm now unable to access 127.0.0.1, 127.0.0.2 or any of the alias's. Everything was fine using a DSL connection. Any help is appreciated. Perhaps someone could point me a good How-To document or an article on the internet. I've been searching and reading, but perhaps I'm searching in the wrong direction, or just misinterpreting my problem, so I'm unable to find a solution. Thanks, Wayne D. |
|
|||
|
On Tue, 03 Feb 2004 20:12:07 -0800, wdeleersnyder wrote:
> Hi, > > I just switched from DSL (Bell Sympatico) to Cable internet (Cogeco) > because Cogeco had a 5 month special and they up'd their speeds to 5 > Mbps... They configured my computer to work under WinXP, but I have a > dual boot system running Red Hat 9. > > I didn't have too many problems getting cable internet to work with > Red Hat 9, but now I seem to be running into other problems that I > don't like. Hopefully someone can point me in the right direction. > > > First, instead of booting up to the welcome screen saying > "localhost.localdomain" it displays the MAC address for my network > card. > > > Second, in the shell it displays the MAC address instead of > "localhost". (eg. root@x1-6-00-50-ba-a4-52-41 instead of > root@localhost). your hostname has been changed to x1-6-00-50-ba-a4-52-41 change it to whatever you want by modifying /etc/sysconfig/network so it looks like: [root@mail sysconfig]# cat network NETWORKING=yes HOSTNAME=digitalmeister > Third, when I try to start up Apache for some personal website > development I get an error. It doesn't seem to read the hosts file > properly. I get the error > > httpd: Could not determine the server's fully qualified domain name, > using 127.0.0.1 for ServerName > > However, my /etc/hosts file says: > 127.0.0.1 localhost.localdomain localhost > 127.0.0.2 digitalmeister testsite change your /etc/hosts to 127.0.0.1 digitalmeister localhost.localdomain localhost # i'm assuming 127.0.0.2 is a virtual host - bad address to use, use 192.168.0.1 testsite check your /etc/host.conf file so that it looks at your hosts file first and then dns [root@mail etc]# cat host.conf order hosts,bind ======================================= <there is no number in my email address> |
|
|||
|
The problem is that your ISP (cable) has a reverse DNS entry for your
machine and your DSL provider did not. When a Linux box boots up, it uses the reverse for the hostname on the login screen. Your best bet is to get a router and plug that into your cable line and let it handle the connection. Then plug your linux box into the router and let the router hand you the internal DHCP address rather than the external one from the cable co. This way your will become root@localhost again. plus, you will have some firewall capability now that you might not have had before. Hope this helps. <wdeleersnyder@cogeco.ca> wrote in message news:fa2c5207.0402032012.42c54724@posting.google.c om... > Hi, > > I just switched from DSL (Bell Sympatico) to Cable internet (Cogeco) > because Cogeco had a 5 month special and they up'd their speeds to 5 > Mbps... They configured my computer to work under WinXP, but I have a > dual boot system running Red Hat 9. > > I didn't have too many problems getting cable internet to work with > Red Hat 9, but now I seem to be running into other problems that I > don't like. Hopefully someone can point me in the right direction. > > > First, instead of booting up to the welcome screen saying > "localhost.localdomain" it displays the MAC address for my network > card. > > > Second, in the shell it displays the MAC address instead of > "localhost". (eg. root@x1-6-00-50-ba-a4-52-41 instead of > root@localhost). > > > Third, when I try to start up Apache for some personal website > development I get an error. It doesn't seem to read the hosts file > properly. I get the error > > httpd: Could not determine the server's fully qualified domain name, > using 127.0.0.1 for ServerName > > However, my /etc/hosts file says: > 127.0.0.1 localhost.localdomain localhost > 127.0.0.2 digitalmeister testsite > > I'm now unable to access 127.0.0.1, 127.0.0.2 or any of the alias's. > > Everything was fine using a DSL connection. > > Any help is appreciated. Perhaps someone could point me a good How-To > document or an article on the internet. I've been searching and > reading, but perhaps I'm searching in the wrong direction, or just > misinterpreting my problem, so I'm unable to find a solution. > > Thanks, > Wayne D. |