Hello helpful people. I thought I'd ask early, this time, instead of making trouble for myself and _then_ asking how to get out of it. :-) 10.0 is installed. YaST Control Center > Network Services has 20 items in it, most of which I won't ever need. However, I will shortly be fooling with - Samba Server - Samba Client - Mail Transfer Agent I want to know what other stuff I should sort out _before_ I start meddling with the items above. For example, my LinkSys WRT54G is the house DHCP server, so my PC received its current address from the LinkSys (it's a 192.168 address, and I haven't checked exactly what it is today). Just for fun, though, I opened YaST Control Center > Network Services > DNS and Hostname. I got a message warning that dhcp stuff had already been supplied and I could either accept or modify... I accepted. In the dialog, my hostname is "linux" and domain is "site". Below that, the "Name Servers and Domain Search List" section is grayed out, but I can see that Name Servers 1 and 2 hold the IP addresses of servers at my ISP. Domain Search 1 holds the domain name of that ISP "magma.ca". I assume that this was all picked up automatically during the 10.0 installation/config process by YaST -- it looked for a dhcp server and the LinkSys said "this is what I've got". The remaining boxes are empty, except there's an X in the box beside "Update Name Servers and Search List via DHCP".... though that entire line is grayed out, too. NOW, keep in mind that I want to set up Samba and also a combination of fetchmail and IMAP (I think). What should I be doing, right now, in the "YaST Control Center > Network Services" dialog? I might like to have my box's hostname be "catbox". Given that I have not yet started any services or configured any servers (beyond what might have incidentally been started or configured during 10.0 installation), how pervasive is it going to be if make a change in "YaST Control Center > Network Services" right now? Also, should I leave the Domain Name setting as "site"? Should I change it to something? Right now, I'm browsing and getting/sending e-mail with this PC, so my network config seems to be working. I don't want to break anything. If I do change the contents of the Hostname or Domain Name fields, are those the settings that will be used/needed later when I setup Samba and MTA, and when I try to connect to them from another computer? It makes sense to me that that should be so, but I'm usually wrong when I make any assumptions about Linux or network stuff, so I'm asking _before_ I break everything horribly. Could there be anything already referring to the hostname "linux" and the domain name "site", and which I'll need to adjust it if I change either of those fields? Again, I have not yet deliberately configured Samba or MTA or anything else. It should all be "vanilla" as the 10.0 install made it. I know this is really, really basic stuff to ask, but I'm absolutely paranoid about breaking things (having found so many ways to do so - it's a talent). Thanks, Kevin
On Saturday 08 October 2005 13:19, elefino wrote:
Hello helpful people. I thought I'd ask early, this time, instead of making trouble for myself and _then_ asking how to get out of it. :-)
10.0 is installed. YaST Control Center > Network Services has 20 items in it, most of which I won't ever need. However, I will shortly be fooling with
- Samba Server - Samba Client - Mail Transfer Agent
I want to know what other stuff I should sort out _before_ I start meddling with the items above.
For example, my LinkSys WRT54G is the house DHCP server, so my PC received its current address from the LinkSys (it's a 192.168 address, and I haven't checked exactly what it is today). Just for fun, though, I opened YaST Control Center > Network Services > DNS and Hostname. I got a message warning that dhcp stuff had already been supplied and I could either accept or modify... I accepted. In the dialog, my hostname is "linux" and domain is "site".
Below that, the "Name Servers and Domain Search List" section is grayed out, but I can see that Name Servers 1 and 2 hold the IP addresses of servers at my ISP. Domain Search 1 holds the domain name of that ISP "magma.ca". I assume that this was all picked up automatically during the 10.0 installation/config process by YaST -- it looked for a dhcp server and the LinkSys said "this is what I've got". The remaining boxes are empty, except there's an X in the box beside "Update Name Servers and Search List via DHCP".... though that entire line is grayed out, too.
NOW, keep in mind that I want to set up Samba and also a combination of fetchmail and IMAP (I think). What should I be doing, right now, in the "YaST Control Center > Network Services" dialog? I might like to have my box's hostname be "catbox". Given that I have not yet started any services or configured any servers (beyond what might have incidentally been started or configured during 10.0 installation), how pervasive is it going to be if make a change in "YaST Control Center > Network Services" right now?
Also, should I leave the Domain Name setting as "site"? Should I change it to something? Right now, I'm browsing and getting/sending e-mail with this PC, so my network config seems to be working. I don't want to break anything. If I do change the contents of the Hostname or Domain Name fields, are those the settings that will be used/needed later when I setup Samba and MTA, and when I try to connect to them from another computer? It makes sense to me that that should be so, but I'm usually wrong when I make any assumptions about Linux or network stuff, so I'm asking _before_ I break everything horribly. Could there be anything already referring to the hostname "linux" and the domain name "site", and which I'll need to adjust it if I change either of those fields? Again, I have not yet deliberately configured Samba or MTA or anything else. It should all be "vanilla" as the 10.0 install made it.
I know this is really, really basic stuff to ask, but I'm absolutely paranoid about breaking things (having found so many ways to do so - it's a talent).
Thanks,
Kevin
First off Kevin, I suggest giving all the machines on your network non-changing ip addresses. Your router can handle this. It will still pass out the ip addresses via dhcp, but it will always give a specific Ethernet car the same ip address. You tell it what ip address should be assigned to what Ethernet card mac address. On my private home network, all my machines are named liberty[x], where x is a number from 1-9, and each are assigned ip's like 192.168.0.111; .112; .113, etc. You will then want to create these assignments in /etc/hosts. This will make it easy for you to navigate around your network, as well as to run a server, like samba, on a particular machine. I can't think of any reason you would need to mess with the mail transfer agent. I am not a samba expert, but you should get your network straight first. HTH, -- Mark A. Taff With sufficient thrust, pigs fly just fine. --RFC 1925
On Saturday, October 08, 2005 @12:19 PM, Kevin wrote:
Hello helpful people. I thought I'd ask early, this time, instead of making trouble for myself and _then_ asking how to get out of it. :-)
10.0 is installed. YaST Control Center > Network Services has 20 items in it, most of which I won't ever need. However, I will shortly be fooling with
- Samba Server - Samba Client - Mail Transfer Agent
I want to know what other stuff I should sort out _before_ I start meddling
with the items above.
For example, my LinkSys WRT54G is the house DHCP server, so my PC received its current address from the LinkSys (it's a 192.168 address, and I haven't checked exactly what it is today). Just for fun, though, I opened YaST Control Center > Network Services > DNS and Hostname. I got a message warning that dhcp stuff had already been supplied and I could either accept or modify... I accepted. In the dialog, my hostname is "linux" and domain is "site".
Below that, the "Name Servers and Domain Search List" section is grayed out, but I can see that Name Servers 1 and 2 hold the IP addresses of servers at my ISP. Domain Search 1 holds the domain name of that ISP "magma.ca". I assume that this was all picked up automatically during the 10.0 installation/config process by YaST -- it looked for a dhcp server and the LinkSys said "this is what I've got". The remaining boxes are empty, except there's an X in the box beside "Update Name Servers and Search List via DHCP".... though that entire line is grayed out, too.
NOW, keep in mind that I want to set up Samba and also a combination of fetchmail and IMAP (I think). What should I be doing, right now, in the "YaST Control Center > Network Services" dialog? I might like to have my box's hostname be "catbox". Given that I have not yet started any services or configured any servers (beyond what might have incidentally been started
or configured during 10.0 installation), how pervasive is it going to be if
make a change in "YaST Control Center > Network Services" right now?
Also, should I leave the Domain Name setting as "site"? Should I change it to something? Right now, I'm browsing and getting/sending e-mail with this PC, so my network config seems to be working. I don't want to break anything. If I do change the contents of the Hostname or Domain Name fields, are those the settings that will be used/needed later when I setup Samba and MTA, and when I try to connect to them from another computer? It makes sense to me that that should be so, but I'm usually wrong when I make any assumptions about Linux or network stuff, so I'm asking _before_ I break everything horribly. Could there be anything already referring to the hostname "linux" and the domain name "site", and which I'll need to adjust it if I change either of those fields? Again, I have not yet deliberately configured Samba or MTA or anything else. It should all be "vanilla" as the 10.0 install made it.
I know this is really, really basic stuff to ask, but I'm absolutely paranoid about breaking things (having found so many ways to do so - it's a talent).
Thanks,
Kevin
Kevin: I had the same setup at one time. It seemed to work ok except if I lost my WAN. In that case, I completely lost my network (no ability to access other machines). I have a Linksys Router that hands out my local network addresses. What I needed to do was to point SuSE to the router instead of letting it pass through and pick up the name servers at my ISP. Now, the router picks up those addresses and serves them up to my local network. If my ISP is down, I still have full access to my other machines because my name server (192.168.1.1) is still up. My local network is, simply, local. On the screen you mention, I see -- Host Name: linux Domain name: local Name Server 1: 192.168.1.1 Domain Search 1: local Greg Wallace
On Sunday 09 October 2005 00:43, Greg Wallace wrote:
I had the same setup at one time. It seemed to work ok except if I lost my WAN. In that case, I completely lost my network (no ability to access other machines). I have a Linksys Router that hands out my local network addresses. What I needed to do was to point SuSE to the router instead of letting it pass through and pick up the name servers at my ISP. Now, the router picks up those addresses and serves them up to my local network. If my ISP is down, I still have full access to my other machines because my name server (192.168.1.1) is still up. My local network is, simply, local. On the screen you mention, I see --
Host Name: linux Domain name: local Name Server 1: 192.168.1.1 Domain Search 1: local
Ok, wait... the Linksys has only a DHCP server, not its own DNS server, right? It only points to the ISP's name servers, doesn't it (using the ISP server IP addresses that I typed into it when I first configured it)?? I should be able to name my boxes anything-dot-anywhere, shouldn't I? Am I misunderstanding, or the naming only becomes important for PCs on my LAN that want to talk to each other... and only then if they want to use names rather than IP addresses to talk to each other (Samba, nfs, whatever...)? For example, would it be proper (and cause NO GRIEF...) to use the hostname command in a console, or the YaST hostnaming dialog, - to name this computer "thisbox.ourhouse", and then - to name my wife's computer "thatbox.ourhouse"... and maybe - I'd name my iBook "airhead.ourhouse"......... Is that going to help give me a cozy little LAN, where (say) Samba servers on my PC and on my wife's PC can allow Samba clients on those respective PCs to each access the other's shares? Is that going to have any effect at all on dealings with the ISP through my LinkSys? By explicitly giving the ".ourhouse" part, am I interfering with anything? Right now, this box is "linux.site"... but so is my wife's PC, where I just installed SuSE 10.0 overnight. I'm sure Samba and mail programs aren't going to like that, right? So I need to give them individual names... but where did the ".site" location come from? Was that just a SuSE/YaST default, or did that come from the LinkSys? What happens with DNS? The DNS servers are at two IP addresses at my ISP, somewhere on the far side of my ADSL modem, which is connected to the WAN side of the LinkSyS. What contact ever occurs between my computers and the DNS servers at the ISP? If I opened ports and enabled services like SSH or VNC (just as examples), is a computer out on the internet going to see one of my computers, in here, as "thisbox.ourhouse.magma"? Or does the ISP not even see my PCs and just sees the LinkSys? If the former, just say yes and I can shut up. If the latter, then what does the LinkSys hand out on my LAN besides dynamic IP addresses within a range that I specify? If some third option, then.... boy am I confooooozed! Sorry for all the questions, but I have the feeling that I've mostly got the idea, but that I have one or two things badly wrong and that's how I keep misinterpreting what Samba setup (both server and client), IMAP setup, and other configs are asking me.... and then the client tells me that "no server was found". If there's a nice tutorial that puts all this in one place, just point me. I've gotten into my current mess by reading too many bits and pieces on too many sites or in too many newsgroup or mailing list threads. Thank you kindly, Kevin (getting there, inch by inch by millimeter by...)
From: elefino
Date: Wed, 12 Oct 2005 21:15:15 -0400 To: Cc: Greg Wallace Subject: Re: [SLE] Basic setup questions [Part 1] On Sunday 09 October 2005 00:43, Greg Wallace wrote:
I had the same setup at one time. It seemed to work ok except if I lost my WAN. In that case, I completely lost my network (no ability to access other machines). I have a Linksys Router that hands out my local network addresses. What I needed to do was to point SuSE to the router instead of letting it pass through and pick up the name servers at my ISP. Now, the router picks up those addresses and serves them up to my local network. If my ISP is down, I still have full access to my other machines because my name server (192.168.1.1) is still up. My local network is, simply, local. On the screen you mention, I see --
Host Name: linux Domain name: local Name Server 1: 192.168.1.1 Domain Search 1: local
Ok, wait... the Linksys has only a DHCP server, not its own DNS server, right? It only points to the ISP's name servers, doesn't it (using the ISP server IP addresses that I typed into it when I first configured it)??
I should be able to name my boxes anything-dot-anywhere, shouldn't I? Am I misunderstanding, or the naming only becomes important for PCs on my LAN that want to talk to each other... and only then if they want to use names rather than IP addresses to talk to each other (Samba, nfs, whatever...)?
For example, would it be proper (and cause NO GRIEF...) to use the hostname command in a console, or the YaST hostnaming dialog, - to name this computer "thisbox.ourhouse", and then - to name my wife's computer "thatbox.ourhouse"... and maybe - I'd name my iBook "airhead.ourhouse".........
Is that going to help give me a cozy little LAN, where (say) Samba servers on my PC and on my wife's PC can allow Samba clients on those respective PCs to each access the other's shares? Is that going to have any effect at all on dealings with the ISP through my LinkSys? By explicitly giving the ".ourhouse" part, am I interfering with anything?
Nope, that works fine. You'll end up with a /etc/hosts file that looks like: 192.168.1.1 router.ourhouse router 192.168.1.2 thisbox.ourhouse thisbox 192.168.1.3 thatbox.ourhouse thatbox 192.168.1.4 someotherbox.ourhouse someotherbox And then in /etc/resolv.conf: Server xxx.xxx.xxx.xxx # primary ISP DNS server address Server yyy.yyy.yyy.yyy # secondary ISP DNS server address Domain ourhouse # this tells the resolver that it's local network is # "ourhouse" Search ourhouse # This allows you to reference "thisbox" instead of # needing "thisbox.ourhouse". It tells the resolver to # assume the domain ".ourhouse" unless otherwise specified. As long as those two server lines are in resolv.conf, your dealings with your ISP shouldn't be affected at all. (Note: this is assuming a static IP setup. If you're letting Linksys' DHCP server touch the client, things get all messy.) As for your question about things on the internet: basically, the rest of the world only sees your router. If you open a port on the router, the world still only sees your router -- your router just happens to take that incoming traffic, turn it around, and send it on to a machine inside. Your internal domain names (".ourhouse"), and everything else, are nice and hidden. - Ian
First, two things: 1) thank you for the reply 2) I just crashed KMail 1.8.2 (KDE 3.4.2 level b, SuSE 10.0) twice in a row by hitting "Reply to all", backspacing through the personal addresses, accidentally backspacing through the [SLE] address, then "accidentally" backspacing one more time (i.e. out of the TO: field). I say "accidentally" because the second time was deliberate to see if the first event was a fluke. On Wednesday 12 October 2005 21:46, Ian Marlier wrote:
(Note: this is assuming a static IP setup. If you're letting Linksys' DHCP server touch the client, things get all messy.)
I meant to ask about this earlier, but those posts were already stuffed with more than enough questions. So, you imply that the LinkSys DHCP server is doing more than dishing out IP addresses in the range that I specify? I've only got three computers, so I could just go all-static, but I thought that if I specified static addresses for some computers, outside the range allowed for DHCP, then the DHCP server would ignore the computers that had the static addresses. Is there something else that it diddles besides just numeric IP addresses? Kevin
From: elefino
Date: Wed, 12 Oct 2005 22:33:39 -0400 To: Subject: Re: [SLE] Basic setup questions [Part 1] First, two things:
1) thank you for the reply
2) I just crashed KMail 1.8.2 (KDE 3.4.2 level b, SuSE 10.0) twice in a row by hitting "Reply to all", backspacing through the personal addresses, accidentally backspacing through the [SLE] address, then "accidentally" backspacing one more time (i.e. out of the TO: field). I say "accidentally" because the second time was deliberate to see if the first event was a fluke.
Sounds like a bug to me...I bet there's a report form somewhere (kde.org, maybe?)
On Wednesday 12 October 2005 21:46, Ian Marlier wrote:
(Note: this is assuming a static IP setup. If you're letting Linksys' DHCP server touch the client, things get all messy.)
I meant to ask about this earlier, but those posts were already stuffed with more than enough questions.
So, you imply that the LinkSys DHCP server is doing more than dishing out IP addresses in the range that I specify? I've only got three computers, so I could just go all-static, but I thought that if I specified static addresses for some computers, outside the range allowed for DHCP, then the DHCP server would ignore the computers that had the static addresses. Is there something else that it diddles besides just numeric IP addresses?
A typical bare-bones DHCP server setup, which is what the Linksys router is, will hand out: - Client IP address - DNS server address(es) - Default Gateway As long as you have an IP somewhere on the same subnet as the router (typically 192.168.1.X for linksys stuff), the ip address(es) of a DNS server or two in your resolv.conf file, and the default gateway set to the IP address of the router, you should be good.
On Wednesday, October 12, 2005 @6:34 PM, Kevin wrote:
First, two things:
1) thank you for the reply
2) I just crashed KMail 1.8.2 (KDE 3.4.2 level b, SuSE 10.0) twice in a row
by hitting "Reply to all", backspacing through the personal addresses, accidentally backspacing through the [SLE] address, then "accidentally" backspacing one more time (i.e. out of the TO: field). I say "accidentally" because the second time was deliberate to see if the first event was a fluke.
On Wednesday 12 October 2005 21:46, Ian Marlier wrote:
(Note: this is assuming a static IP setup. If you're letting Linksys' DHCP server touch the client, things get all messy.)
I meant to ask about this earlier, but those posts were already stuffed with more than enough questions.
So, you imply that the LinkSys DHCP server is doing more than dishing out IP addresses in the range that I specify?
No. That's all it's doing.
I've only got three computers, so I could just go all-static, but I thought that if I specified static addresses for some computers, outside the range allowed for DHCP, then the DHCP server would ignore the computers that had the static addresses.
Right.
Is there something else that it diddles besides just numeric IP addresses?
I don't think so.
Kevin
elefino wrote:
First, two things:
1) thank you for the reply
2) I just crashed KMail 1.8.2 (KDE 3.4.2 level b, SuSE 10.0) twice in a row by hitting "Reply to all", backspacing through the personal addresses, accidentally backspacing through the [SLE] address, then "accidentally" backspacing one more time (i.e. out of the TO: field). I say "accidentally" because the second time was deliberate to see if the first event was a fluke.
On Wednesday 12 October 2005 21:46, Ian Marlier wrote:
(Note: this is assuming a static IP setup. If you're letting Linksys' DHCP server touch the client, things get all messy.)
I meant to ask about this earlier, but those posts were already stuffed with more than enough questions.
So, you imply that the LinkSys DHCP server is doing more than dishing out IP addresses in the range that I specify? I've only got three computers, so I could just go all-static, but I thought that if I specified static addresses for some computers, outside the range allowed for DHCP, then the DHCP server would ignore the computers that had the static addresses. Is there something else that it diddles besides just numeric IP addresses?
Why not try an experiment? First, configure a computer with DHCP and see what works. Then, change to static config, including default route & DNS and see if everything still works.
participants (5)
-
elefino
-
Greg Wallace
-
Ian Marlier
-
James Knott
-
Mark A. Taff