LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-08-2008, 02:40 PM   #1
bashyow
Member
 
Registered: Jun 2008
Location: uk
Distribution: Slackware 12.1, AND IM LOVIN EVERY MINUTE OF IT, JERRY! :D
Posts: 122

Rep: Reputation: 15
udev & firewall problem


hello,

im trying to run Erics firewall script (thanks Eric), but i cant get it to execute on start up, seems to be a problem with udev, i get this error:

'Triggering udev events: /sbin/udevtrigger --retry-failed /etc/rc.d/rc.inet2: /etc/rc.d/rc.firewall: /bin/sh^M: bad interpreter: No such file or directory'

any idea how i can resolve this?
 
Old 06-08-2008, 03:22 PM   #2
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
/etc/rc.d/rc.firewall appears to have Windows line ends. There are many ways to solve this. My preferred one:

Code:
sed -i -e 's:\r::g' /etc/rc.d/rc.firewall
 
Old 06-08-2008, 03:46 PM   #3
bashyow
Member
 
Registered: Jun 2008
Location: uk
Distribution: Slackware 12.1, AND IM LOVIN EVERY MINUTE OF IT, JERRY! :D
Posts: 122

Original Poster
Rep: Reputation: 15
yes, the file was saved on a windows machine.

thanks rg3, firewall now works
 
  


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
KDE & hal/dbus/udev problem with USB card... mlaverdiere Debian 7 02-23-2006 08:00 PM
VSFTPD Configuration & Firewall Problem rcrosoer Linux - Software 2 01-14-2006 05:48 AM
Java & JOGL & udev install on Fedora probs! striderwho Linux - Newbie 0 01-30-2005 03:44 AM
LAN & firewall problem ZaphyR Linux - Networking 2 07-28-2004 02:43 PM
Problem with Shorewall Firewall & IPTables Led*Zep Linux - Networking 1 03-15-2003 09:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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