Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm a newbie that just recently dual-booted my system with Redhat 8 and XP so I can learn Linux, since I'm a compsci major. OK, here's my current issue. I live at a fraternity house where we have a house network that connects to Roadrunner broadband internet, which runs through a router. When I first installed RH8, my internet worked fine here. I have a built-in wireless card in my laptop (IBM T30) so I had my wireless configured to use on campus. When I got back here my house wireless was slow and my landline didn't work at all. It wouldn't be able to resolve any hosts.
I don't really care too much about the wireless at the house, but I wanted to ask if anyone knew the network settings that RH8 defaults to, or any other way to fix this problem. Here are my current network settings:
Under DNS Tab (I'm using GNOME)
Hostname: localhost.localdomain
Primary DNS: 192.168.254.254
Secondary DNS: 128.113.28.67
Domain Name: dynamic.rpi.edu
Under Hosts Tab:
IP: 127.0.0.1
Name: localhost.localdomain
Aliases: localhost
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
Open a terminal ( GNOME-console, KConsole, xterm ) whatever is handy and try to ping your primary DNS ip address. And then try your secondary DNS. More likely that not, you wont receive a response from either of these. In which case, type in
/sbin/ifconfig -a
to list all your interfaces and send us the output.
If you get a response from one of the DNSs, try to nslookup an internet hostname ( www.google.com ) and post what it says.
I had an issue with RedHAt 8.0 when I first put it behind a router that was similar. I was supposed to use the routers internal IP as the DNS entry, and then it would forward all of the DNS requests. This worked finr on Windoze, but for some reason I could not resolve hosts under RedHat. I ended up manually adding my ISPs primary and secondary DNS IPs to my eth0 config, and it has worked like a charm ever since.
Just to clear this up a bit, you have 2 NICs? One wireless and one landline?
I also tried this: I ran ipconfig in windows, and it gave me the following:
Connection-Specific DNS Suffix: nycap.rr.com
IP Address: 192.168.1.168
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
So what I went and did was I changed my Primary IP to 192.168.1.1 and my domain to nycap.rr.com, but that still didn't work, althought I can ping 192.168.1.1, my default gateway. What do I do from here?
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
Although you can ping your gateway, you need at least one valid DNS entry in your /etc/resolv.conf to enable hostname lookups. Usually, if the DHCP server that leases you an IP address supplies DNS settings which your startup scripts may automatically put in /etc/resolv.conf . If you're using fixed IPs, that feature is hopefully disabled.
But since you're not 'online' with linux yet, you're probably still on windos in which case you can
ipconfig /all
and fetch them from there and manually put it in /etc/resolv.conf .
If he is behind a firewall, chances are that the DNS IP will be the IP of the router. I would suggest running nslookup and manually entering the ISP's DNS IP in the /etc/resolve.conf file (or you can do it through RedHat's nifty little GUI).
i am having a similar problem. I am behind a linksys router connected to a cable connection. The linksys auto assigns IP's through DHCP. All of the computers in the house are connected via a Microsoft Workgroup (called 485W). I want to be able to have them see me through samba. How do i chage all this?
Originally posted by slightcrazed If he is behind a firewall, chances are that the DNS IP will be the IP of the router.
Wow.... did I actually write that? Must have been pre-coffee, cause I usually make more sense than that.
What I really meant to say was that most of the 'network in a box' routers out there work as a psuedo DNS caching only server, and assign their internal IP (also the DG) to clients for DNS resolutions. The router then acts as a forwarder and send the name resolution requests to whatever DNS was DCHP'd to its external interface from his ISP. RedHat, for some reason, does not like this, and (at least in my specific case) was forced to assign the actual IP of my ISP's DNS so that resolution could happen.
Gee, don't ya just love acronyms?
"Seeing as how the VP is a VIP, wouldn't it be wise to keep the VP's PC on the QT, otherwise he could wind up an MIA and then we'd all be put on KP." - Robin Williams, Good Morning Vietnam.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
Quote:
Originally posted by shwabob i am having a similar problem. I am behind a linksys router connected to a cable connection. The linksys auto assigns IP's through DHCP. All of the computers in the house are connected via a Microsoft Workgroup (called 485W). I want to be able to have them see me through samba. How do i chage all this?
Are you running SAMBA yet? Check and see if your smb ( Netbios ) and nmb ( Netbios Name service ) daemons are running. As long as you the rest of the boxes are within your network/subnet , whether you are behind a router /switch/hub shouldn't matter. Change your workgroup name to 485W in your /etc/samba/smb.conf .
yeah...got samba running fine. i just want to figure out how i can change the name of my linux machine from 'localhost' to 'deepblue'...then I think I am starting to get there...
Thanks guys, I got it to work. What I did was find the DNS IP's from my provider and plug those in, but I got them from a friend who also uses RoadRunner, so I can't really tell you how I got them. Thanks again for the help!h
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.