LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-15-2005, 10:35 PM   #1
Weedman
Member
 
Registered: Oct 2005
Location: Tasmania, Australia.
Distribution: Gentoo, Debian, Ubuntu
Posts: 30

Rep: Reputation: 15
why can i use the net under Win but not with FC4 using a smoothwall firewall?


i made up a smoothwall firewall. configured Win XP and FC4 to the new settings. BUT only Win works with the net.???

Any help towards fixing this situation will be well appreciated. THIS is urget! I dont wanna use Windows any longer than i have to!

thanks
weed
 
Old 10-16-2005, 12:46 AM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Can you ping your smoothwall box or a host outside your network from FC4? Are you running DHCP server on the smoothwall box? What kind of network card are you running?
 
Old 10-17-2005, 10:53 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
I have been running SmoothWall Express for over a year. Everything connected, well, smoothly (pun unintentional). Can you access the "Smoothie" from the Win box? I.e. the web based graphic admin facility.

If so, I may be able to compare mine w/ yours & help.

No one should be forced to use "Winders".
 
Old 10-19-2005, 12:41 AM   #4
Weedman
Member
 
Registered: Oct 2005
Location: Tasmania, Australia.
Distribution: Gentoo, Debian, Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
i can access the smoothwall from both Fc4 and Win. Win is the only one which works with the net. I think that FC4 isnt detecting the gateway.

i got it working with a static ip address but not with chcp.

i really want to get FC4 to work with dhcp, cause it makes networking a hell of a lot easier.

thanks for your replies!
 
Old 10-19-2005, 07:46 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
static ip address but not with chcp
I think this is the key to your problem. Be patient, answer a few clarifying Q's, & I think this might be easily solved.


My Questions
Quote:
configured Win XP and FC4 to the new settings.
  1. What did that look like in FC4?
  2. What were you using before SmoothWall ?
  3. Please confirm that you are using SmoothWall Express, not the commercial version.
  4. Please post the results of "ifconfig".
  5. Have you tried starting DHCP manually on FC4? How?
  6. Which of the (at least) 3 DHCP clients does FC4 use?

Feel free to save space by answering by #. I think the most important Q's are last.
 
Old 10-19-2005, 05:37 PM   #6
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Also post the contents of your routing table, type:

route

At the command line, also when you install FC4 there is a SELinux option, this is supposed to be a very secure setting for FC4 but I have heard a few people have a lot of dramas getting things to work. If the setting is on which it is by default unless you turned it off, I wonder if it is not allowing the DHCP request so your not able to get an address from the server
 
Old 10-20-2005, 12:47 AM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Good point about SELinux. I don't usually work w/ FC4, so that slipped my mind.
 
Old 10-20-2005, 01:44 AM   #8
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Quote:
Originally posted by archtoad6
Good point about SELinux. I don't usually work w/ FC4, so that slipped my mind.
A friend pointed it out to me the other week when he installed FC4 and had dramas getting MySQL to work. He keeped getting errors and some of the commands by the command line would not work, they'd only work throught the GUI interface. Took him a while to fiqure it out, but once he disabled it, MySQL worked and was able to use the commands by the command line again.
 
Old 10-20-2005, 08:51 AM   #9
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Start w/ the SELinux, come back to my Q's.
 
Old 10-20-2005, 10:21 PM   #10
Weedman
Member
 
Registered: Oct 2005
Location: Tasmania, Australia.
Distribution: Gentoo, Debian, Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
1. What did that look like in FC4?
2. What were you using before SmoothWall ?
3. Please confirm that you are using SmoothWall Express, not the commercial version.
4. Please post the results of "ifconfig".
5. Have you tried starting DHCP manually on FC4? How?
6. Which of the (at least) 3 DHCP clients does FC4 use?
1. i dont get you. can you explain that more?
2. I was using nothing before smoothwall. Just a static ip.
3. yes it is smoothwall express.
4. no and i dont know how
5. i have no idea.

contents of route:
Code:
[root@localhost Chris]# route
bash: route: command not found
ok i did install SElinux, but i disabled it with the SElinux=0 or off in the kernel params.
 
Old 10-21-2005, 08:05 PM   #11
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Quote:
Originally posted by Weedman

contents of route:
Code:
[root@localhost Chris]# route
bash: route: command not found
ok i did install SElinux, but i disabled it with the SElinux=0 or off in the kernel params.
Route command not working, did you try the command after you disabled the SELinux? You should get something similiar to this:

[root@www root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default gateway.linuxcl 0.0.0.0 UG 0 0 0 eth0
 
Old 10-22-2005, 07:18 AM   #12
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
7: (New Q)
Quote:
i made up a smoothwall firewall. configured Win XP and FC4 to the new settings. BUT only Win works with the net.???
does this mean that FC4 was installed & working before you added the "Smoothie"?

Now the old ones:

5 & 6:
See my previous post: DHCP clients in Linux which I have just revised to be as close as possible to my final word on the subject. It does assume you know how to get to a command line, either an "old-fashioned" console or a terminal in X. If you need me to, I can find out how to do that in Gnome (FC4).

4:
Open a CLI (command line), preferably a terminal in Gnome, & type "ifconfig" (actually "ifco<TAB>" should do it). You should see something like this:
Code:
$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0A:E6:88:83:82
          inet addr:192.168.sss.hhh  Bcast:192.168.sss.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:119782 errors:0 dropped:0 overruns:0 frame:0
          TX packets:100460 errors:0 dropped:0 overruns:0 carrier:0
          collisions:39 txqueuelen:1000
          RX bytes:124706847 (118.9 MiB)  TX bytes:11317021 (10.7 MiB)
          Interrupt:5 Base address:0xdc00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:736 errors:0 dropped:0 overruns:0 frame:0
          TX packets:736 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:81397 (79.4 KiB)  TX bytes:81397 (79.4 KiB)

Now drag the mouse over the portion you want to copy, goto to your post, put the cursor where you want the text inserted, & middle click. Whatever you highlighted in the (X) terminal will be copied at the point where the cursor was located when you pressed the middle mouse button. My apologies if you already knew this, but I'm adding it just in case you don't; besides it might help someone else.

2 & 3:
Answered, thanks.

1:
Deferred, my curiousity -- probably not necessary to solve the problem.
 
  


Reply



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
Net send WIN to Linux???? gold5angel Linux - Newbie 11 04-16-2004 01:30 PM
Linux to win net sharing Ember_666 Linux - Networking 2 07-27-2003 07:22 AM
IP table/smoothwall firewall rioguia Linux - Networking 2 11-09-2002 06:25 AM
Can i use Win.net with linux dark_light Linux - General 1 08-29-2002 05:34 PM
Net View error with Win 95 LolaDoppietta Linux - Networking 3 11-26-2001 10:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:50 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
Open Source Consulting | Domain Registration