LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-28-2009, 03:47 AM   #1
bizarr
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Rep: Reputation: 0
Internet sharing in fedora 10


Hy I am new in linux and I don`t understend to much here.
I share my internet connection via switch but I don`t understand why I can access from other computer site`s like {www.example.com ; .org ; .info} but other site`s from .ro are working.
And pls teach me how to share my internet connection and keep samba server enable on same networkcard if I am sharing as samba I can`t access Internet and if I share Internet I can`t access samba.pls if somebody Knows Something about this pls let me know

Thanks in advanced
Best regards
Bizar

Last edited by bizarr; 02-28-2009 at 05:10 AM.
 
Old 02-28-2009, 12:21 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,885

Rep: Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258
Quote:
Originally Posted by bizarr View Post
Hy I am new in linux and I don`t understend to much here.
I share my internet connection via switch but I don`t understand why I can access from other computer site`s like {www.example.com ; .org ; .info} but other site`s from .ro are working.
And pls teach me how to share my internet connection and keep samba server enable on same networkcard if I am sharing as samba I can`t access Internet and if I share Internet I can`t access samba.pls if somebody Knows Something about this pls let me know

Thanks in advanced
Best regards
Bizar
First, welcome aboard.

Second, can you please write more clearly?? Your question is very hard to follow. You also don't say anything about what version/distro of Linux you have, or what your environment is (multiple computers? Any with Windows? Mac? what??). Providing good information will help you get answers. And please spell out your words...

You say you share your connection via switch, and things are working, but other sites are working too? So what's the problem? Sounds like things are working.

You also say you're sharing your connection via switch, so why are you asking how to share your connection via linux, since it's obviously already shared?

Starting Samba won't affect your internet connection at all, but will only share what you tell it to, for other Windows clients.
 
Old 02-28-2009, 01:59 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,216

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
he said fedora 10 the subject
am i to assume you have something similar to the following?

Code:
    modem
     |
   switch
   |  | |
comp1 | |
  comp2 |
      comp3
or is it more like
Code:
modem - comp1
          |
       switch
       |    |
      comp2 comp3
in short, how are they connected to your modem? the modem to the switch, then your network or the modem to a computer with 2 nics then a switch to the rest of your network?
are the computers ip addresses assigned statically or via dhcp?

Last edited by frieza; 02-28-2009 at 02:01 PM.
 
Old 02-28-2009, 03:23 PM   #4
cloud9repo
Member
 
Registered: Oct 2008
Location: Middle TN
Posts: 134

Rep: Reputation: 19
Quote:
Originally Posted by bizarr View Post
Hy I am new in linux and I don`t understend to much here.
I share my internet connection via switch but I don`t understand why I can access from other computer site`s like {www.example.com ; .org ; .info} but other site`s from .ro are working.
And pls teach me how to share my internet connection and keep samba server enable on same networkcard if I am sharing as samba I can`t access Internet and if I share Internet I can`t access samba.pls if somebody Knows Something about this pls let me know

Thanks in advanced
Best regards
Bizar
Turn off all filters, unless you're in this Romania, where your connect is automatically filtered.

And, if in Lithuania, do NOT let them know that you made this post, at all, et al.
 
Old 03-01-2009, 05:42 AM   #5
bizarr
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for answering

I will be more explicit.
1.-I have a computer whit two network card on eth0 I have a pppoe connection to the internet on second card I want to give internet via switch to computers that are operating Windows or Mac OS and I did this,but the other computer a getting ip- addresses assigned automatic by my computer and they are getting and internet but I can`t access all the web sites
like {.com ; .org ; .info} from the computers that are getting internet from my computer.
2.-When I set up the samba server he created a connection for sharing files if I want to access the file that are share I can`t access the internet in the same time.


Code:
  
    MyComputer
pppoe->|    |
      eth0 eth1
            |
          switch 
          |   |
        Win OS|  
             Mac OS
Thank`s wery much for your answers and your time.

Last edited by bizarr; 03-01-2009 at 05:47 AM.
 
Old 03-01-2009, 06:16 PM   #6
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,216

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
still kinda confusing...

but here is what i think.. samba should be configured to listen to eth1
and you need a firewall software like firestarter (http://www.fs-security.com/) to setup internet, configureing eth0 as the external interface and eth1 as the network interface

or you could do the firewall manually using iptables/ipchains
but firestarter would be easier

also another good gui admin tool is webmin (www.webmin.com)

also the ip of eth1 must be static and that ip address will be the 'gateway' set for the computers behind it, after that, use you isp's DNS server as the dns server for all the meachines, even the ones behind eth0

i used to have a similar situation and that's how i did it except for me it was a dialup modem instead of a pppoe connection so my 'external' interface was ppp0

Last edited by frieza; 03-01-2009 at 06:20 PM.
 
  


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
Internet sharing from fedora core 4 abdullahcsedu Linux - Networking 1 03-13-2008 09:57 AM
Sharing dial-up internet between WindowsXP and Fedora 7 Prasanna Rajaram Linux - Networking 9 02-04-2008 02:11 PM
fedora core 4 internet sharing sameer666 Linux - Networking 1 12-12-2005 07:41 PM
Fedora-3 and Internet sharing thaque Linux - Networking 2 03-07-2005 12:15 PM
Internet sharing problems w/fedora core 2 bregan Linux - Wireless Networking 0 09-30-2004 06:38 PM


All times are GMT -5. The time now is 11:57 AM.

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