LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-20-2015, 10:30 PM   #1
nanoandrew
LQ Newbie
 
Registered: Jun 2015
Posts: 1

Rep: Reputation: Disabled
IPtables not working and modules.dep missing on 2.6.32


To begin with, I will say that I am running Debian Lenny on my Wii. I have tried upgrading but with the extremely limited amount of RAM (which gets exhausted when I try and upgrade with some newer packages) there is not a chance it will work (also 2GB SD card, so limited space).

To the problem.

I was trying to set up openssh-server to run on another port, for example 4444, but when I tried to connect it failed and Nmap showed no open ports. So I figured (may be wrong here, but that is what I have found this far) that I needed to allow port 4444 through the firewall (iptables). But when I try to it spits out "Could not load /lib/modules/2.6.32-isobel-wii/modules.dep: No such file or directory" and also "iptables v1.4.2: can't initialize iptables 'filter': iptables who? (do you need to insmod?)".

The first error also appears on startup (since I have no GUI, I see the startup). From what I have found over the last couple days, I need to load the "module" and rebuild the kernel, but when I try to get it there is no version for it (its a Wii version though, no surprise). I have checked in /lib/modules/ and /boot/ , both of which are empty, where as I have read there should be some files.

I know I could just default back to port 22 and it would work, but I would like to use other ports for security.

Any ideas, or is it unfixable?
 
Old 06-23-2015, 01:16 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Hey Nano

Just a thought, but if you can remote into the instance over the network (confirming the necessary networking kernel modules loaded), you don't actually need to resolve the question of "what happened to my firewall headers?" as much as you just need to confirm your ports are not blocked (use case is an SSH server, not firewalls on your wii).
If you run an iptables -L and it shows your ports set to accept you can discard the firewall as a possible issue. If the wii doesn't recognize the command... even better, you definitely don't have a firewall running.

Just an added note: If your using the package I found a tutorial for, you will have minimal headers because bluntly, the Wii processor can't handle any more than that. You should still be able to set up your ssh server assuming the kernel has crypto and network headers to support tunneling.

Last edited by dijetlo; 06-23-2015 at 01:19 PM.
 
  


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
Couldnot open /lib/modules/2.6.21.3/modules.dep while booting in Slack-12.0 rsamurti Slackware - Installation 6 07-08-2007 09:46 AM
FATAL: Could not load /lib/modules/2.6.14-default/modules.dep no such file exist dr_zayus69 Linux - Software 3 12-26-2005 06:44 PM
says im missing modules.dep Zujin Slackware - Installation 2 04-02-2005 11:21 AM
Missing modules.dep DragonDon Linux - Newbie 4 03-11-2004 07:16 PM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 02:32 PM

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

All times are GMT -5. The time now is 05:12 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