LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-19-2001, 12:14 PM   #1
Ky.
LQ Newbie
 
Registered: Jul 2001
Distribution: Redhat 7.1
Posts: 5

Rep: Reputation: 0
Completely new to Linux! Need help with Networking on a windows LAN


Hi this is my first post here and I am a total newbie in the world of Linux.

I have just installed Redhat 7.1 for the first time and I was amazed that I managed to install it properly with no major errors yet =)

I have 2 problems:

firstly I get a message for the hostname as ThisAddressDoesNotExist

and on boot up

'Welcome to ThisAddressDoesNotExist'

Which was amusing I must say! How do I change this?

Secondly I have a small LAN here with a couple of Windows 2k machines on it connected by a Netgear FR314 Firewall Router. The machine running Redhat is connected to this LAN and can access the Web but I would like to be able to access the files on the other machines, and allow them to access the files on the linux box.

Any help greatly appreciated!
 
Old 07-26-2001, 02:55 PM   #2
atari007
LQ Newbie
 
Registered: Jul 2001
Location: Jacksonville, FL USA
Distribution: Redhat 7.1
Posts: 4

Rep: Reputation: 0
Well, im a real big newbie too, but maybe i can actually help! im not too sure about the whole getting your 2k machines to talk to it (i think this has to do with samba.. but dont quote me) .. as far as this:

--------------------------------------------------------------
firstly I get a message for the hostname as ThisAddressDoesNotExist

and on boot up

'Welcome to ThisAddressDoesNotExist'

Which was amusing I must say! How do I change this?
--------------------------------------------------------------

try typing 'netconf' and configure the host name and all of that in there.... if that doesnt help, then i dont really know good luck

Atari007
 
Old 07-26-2001, 02:59 PM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
As atari007 has mentioned you want to use Samba to allow you to interact with your Windows boxes - it makes your Linux box look like a WindowsNT/2K box I'm pretty sure that it comes with Redhat, but hopefully someone else will be able to confirm this - I'm not from the Redhat camp... I'd normally start saying "have a look at /etc/smb.conf" but there's bound to be a tool in Redhat to allow you to do a graphical configuration.

During the wait for someone to fill in the blank above have a read of the documentation available at your closest mirror of http://www.samba.org/

HTH

Jamie...
 
Old 07-26-2001, 03:02 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Standard Redhat distro's do come with Samba.
 
Old 07-28-2001, 02:38 PM   #5
Steave
Member
 
Registered: Jul 2001
Location: Braunschweig, Germany
Distribution: Suse 7.2
Posts: 184

Rep: Reputation: 30
I can't say wether or not RH comes with a good graphical config, but with these lines in smb.conf you should have a good start:

[global]
workgroup= WORKGROUP
guest logons = true
guest account = nobody
security = user
public = yes
browseable = yes

# your servers ip and netmask
interfaces = 192.168.0.1/255.255.255.0

[share1]
comment = myShare on Samba
path = /usr/me
read only = no

this will show the folder /usr/me as share1 in your Win LAN (Workgroup WORKGROUP) you also should have rw access, but note that permissions of the files in your Linux box override permissions granted by samba. In this case you will have the priviliges of nobody. (-> guest account)

Hope this was of some help. On my Suse distribution I had a pretty well commented example of smb.conf which was pretty suitable to start with... If you really want to know what else samba can do for you have a look at the manpage for smb.conf
But this one is rather long
 
Old 07-29-2001, 01:23 PM   #6
Linuxchallenged
LQ Newbie
 
Registered: Jun 2001
Location: Frederick,MD
Distribution: Caldera Open linux,RH 7.1
Posts: 14

Rep: Reputation: 0
you will also need to enable: encrypted passwords = yes
you will also need to allows hosts (the Win2K clients). I would also hard code the Netbios name (your hostname when you get it figured out...I dont have any other suggestions other than the ones already offered.) Netbios name = (hostname) also something cool is the Netbios alias = (whatever) this allows virtual servers.....very cool.
 
Old 05-28-2004, 02:47 AM   #7
sibu_rajappan
LQ Newbie
 
Registered: May 2004
Location: india
Posts: 23

Rep: Reputation: 15
along with all these tips i also pls try giving these
on my rh9 this is line num 60 there is an option security= pls rewrite as security=server and on the line 28 (on RH9)
give the range of ips to be allowed to use samba
eg for my network 192.168.1.1 192.168.1.254 just type like this and all the ips from 1.1 to 1.254 systems will be allowed............

if not givin security=server then my linux will not access any windows sys..............i dont know for sure pls if any other sugges pls tell
 
Old 07-04-2005, 02:53 PM   #8
frazelle09
Member
 
Registered: Dec 2004
Location: Mexicali, Baja California, México
Distribution: PCLinuxOS 2016 - 64bit on four machines, including a laptop.
Posts: 113

Rep: Reputation: 15
Mandrake 10.1 networking w / Win XP

Well, after searching high and low, here i am again, posting, like it says, in an already created post which is similar to our problem.
We've got two machines, one an XP and the other our Linux box. Both are connected to a Linksys wireless router, XP through a Cisco wireless card and the Linux box through a cable. The router is connected to the internet by way of a Speedster cable modem. Both computers can surf and for a while before we replaced the wired router w / the wireless, the Linux could see and r/w to the XP. At this point all we're interested in is being able to r/w to the XP. We were even able to set up the CUPs sys. before and print to the little laser printer on the XP but obviously we don't have any printers avail. anymore. i'm basically trying to just work through the Control Center 'cause i'd like to be able to show some others here in Mexico how to use a Linux machine. At this point the Linux box is set up on eth0 and DHCP automatic. i think my XP Cisco card is IP 192.168.1.119; Subnet 255.255.255.0; Default 192.168.1.1; and DNS 192.168.254.254. i think the router is set up to do the DHCP as automatic. On my XP all i can see is something that says Samba 3.0.1.0 when i click on the "home" button. When it opens up Samba i see the same printers that are connected to the XP ??? as well as something that has to do with Adobe -- pdf? but i can't see any directories or subdir. on the Linux mach., but like i said earlier, that's no prob. at this point.
Arg. Any ideas? Thanks in advance guys and gals. And have a nice week! Yours truly, fred, from sunny México.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking Linux and Windows xrobevansx Linux - Newbie 3 06-19-2004 09:54 AM
redhat 9.2 networking with windows xp lan server ezeuba Linux - Networking 2 04-19-2004 09:25 AM
Linux - Windows Networking loteck Linux - Networking 8 12-14-2002 02:11 PM
How to completely take out windows SirLostalot Linux - Newbie 2 11-12-2002 03:22 AM
Newbie to LINUX LAN/WAN Networking, plz help! lax2sman Linux - Networking 7 02-11-2002 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration