LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-19-2004, 10:57 AM   #1
ronadinihari
LQ Newbie
 
Registered: Feb 2004
Location: Indonesia
Distribution: Redhat Linux 9
Posts: 15

Rep: Reputation: 1
ip masqed redhat linux 9 cannot browse and trouble configuring printer to samba


Systems:
1. Redhat linux 9
eth0 -> USB -> Motorola SB5100 surfboard -> ISP
hostname=mofiddpc ip=DHCP

eth1 -> D-Link 538-TX NIC -> D-Link Switch
hostname=mofiddpc ip=192.168.0.1

lp0 -> Epson Stylus C41SX

2. Dual boot:
Redhat linux 9
eth0 -> D-Link 538-TX NIC -> D-Link Switch
hostname=ronapc
ip=192.168.0.2 gateway=192.168.0.1 domain=link.net.id
dns1=202.137.3.120 dns2=202.137.3.121

Windows 98 SE
TCP/IP -> D-Link 538-TX NIC -> D-Link Switch
hostname=ronapc
ip=192.168.0.2 gateway=192.168.0.1 domain=link.net.id
dns1=202.137.3.120 dns2=202.137.3.121 sufix=mofiddpc

3. Windows 98 SE Arabic
TCP/IP -> onboard NIC -> D-Link Switch
hostname=mfa
ip=192.168.0.3 gateway=192.168.0.1 domain=link.net.id
dns1=202.137.3.120 dns2=202.137.3.121 sufix=mofiddpc

Question:
1. I have found something odd with my home network. Windows 98 in system 2 and 3 can access the internet. But Redhat linux 9 in system 2 can't. How can i fix Redhat linux 9 in system 2, so it can access the internet?
I don't think suffix working yet since i haven't configure DNS server in system 1.
2. How to share printer in system 1 through samba? I don't know the path to spool. I've tried this:
/usr/sbin/lpadmin -h mofiddpc -p StylusC41SX -u allow:all
lpadmin: add-printer failed: server-error-service-unavailable

i've been working with my network for 1 month, and i've been exhausted. So this is my last attempt to fix the remaining problem with my linux.
 
Old 02-19-2004, 04:43 PM   #2
danwhitt1
LQ Newbie
 
Registered: Feb 2004
Location: east texas
Distribution: fedora
Posts: 2

Rep: Reputation: 0
getting redhat to access internet

Sounds like a simular problem that I was having about a month ago ,
I was however able to access the web with linux sometimes , I think it eventully turned out
to be a server problem with my Internet provider , however when my provider gave me a static
Ip address I had to do something else I could have bought a router and gone from my dsl conection to my router and then to my hub where all my local network connections are.
I choose however to download a proxie server from the web (ccproxie) it was free to use for a small network i installed it on my windows pc that I wanted for my server and with alittle tinkering here and there I figured out how to configure my network proxie . I then went to my other PC's and set all my browsers to use a proxie server , Linux and windows work just fine with this windows proxie , I am
currently using windows ME and Fedora & SuSE with this server. Instant messengers work just fine
along with mozilla & netscape I do miss my news ticker (there was no proxie configuration built into it) I am sure I could have done this using Linux as my proxie server I certainly would have preferred
that but being a newbie I am still working on it , but this was a quick solution and seemed to solve some of my internet problems . I now can access the web with about anything I throw at it including
Morphix and some other simular operating systems I also tried win98 and it had no problem either.
I hope this helps
good luck ,
Dan
 
Old 02-20-2004, 06:53 AM   #3
ronadinihari
LQ Newbie
 
Registered: Feb 2004
Location: Indonesia
Distribution: Redhat Linux 9
Posts: 15

Original Poster
Rep: Reputation: 1
I'm sorry but some of my favourite websites don't behave well behind proxy. So i'm gonna wait for the next solution. Thanks though.

A friend says to make a gateway would solve. I thought there aren't any other option beside ip masq and proxy?
 
Old 02-20-2004, 07:30 AM   #4
ronadinihari
LQ Newbie
 
Registered: Feb 2004
Location: Indonesia
Distribution: Redhat Linux 9
Posts: 15

Original Poster
Rep: Reputation: 1
in windows i noticed that the host name would be ronapc.link.net.id but why in linux both server and system 2 it's localhost.link.net.id? when i tried forcing it by writing ronapc.link.net.id in redhat-network-config hostname, there's a message like "fail to get domain link.net.id". Could be a hint?

I've discovered a new tool in redhat called SWAT. when i try around, i think i accidentally become the domain controler of link.net.id. there's a bunch of people names in samba log that aren't mine.
 
Old 02-21-2004, 05:57 PM   #5
ronadinihari
LQ Newbie
 
Registered: Feb 2004
Location: Indonesia
Distribution: Redhat Linux 9
Posts: 15

Original Poster
Rep: Reputation: 1
common guys, i see a lot of same problem in the other postings. how can windows client connect to the internet while linux client can't? i even using the same distro for client with the ip masq connection server.
 
  


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
trouble setting shares so samba networked xp box can browse files mjewell Mandriva 4 11-13-2005 08:20 AM
can browse samba network with windows but not linux tuxkwb Linux - Networking 0 12-01-2004 04:52 PM
Trouble configuring Samba with Fedora, any advice, heres my smb.conf trekgraham Linux - Networking 7 05-03-2004 03:29 PM
redhat 8 printer config trouble unclegerry Linux - General 2 09-01-2003 04:26 PM
Redhat 7.3 configuring remote printer kalpana Linux - Newbie 1 08-07-2002 05:13 AM


All times are GMT -5. The time now is 12:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration