usb speed touch 330 sharing

Connection sharing, Firewall, Samba..etc

Re: usb speed touch 330 sharing

Postby bob5 on Fri Nov 06, 2009 11:01 pm

hi i just had a go using ubuntu geek guide
i do the following :
1)sudo ifconfig eth0 192:168.2.1
2)sudo iptables -t nat -A POSTROUTING -ppp0 -j MASQUERADE
this my modem i get : iptables v1.4.1.1: unknown protocol `-ppp0' specified
Try `iptables -h' or 'iptables --help' for more information.

3)sudo echo 1 > /proc/sys/net/ipv4/ip_forward
i get : bash: /proc/sys/net/ipv4/ip_forward: Permission denied

4) next i have to install dnsmasq ipmasq and restart and reconfigure
works fine .
5)sudo ifconfig eth0 192.168.2.1
6)# iptables -t nat -A POSTROUTING -o ethX -j MASQUERADE same as 2
7) sudo echo 1 > /proc/sys/net/ipv4/ip_forward same as 3

8)gedit /etc/sysctl.conf
Add the line “net.ipv4.ip_forward = 1″ to /etc/sysctl.conf work fine

help please
thank you
bob5
Level 1
Level 1
 
Posts: 13
Joined: Sun Oct 11, 2009 1:01 pm

Linux Mint is funded by ads and donations.
 

Re: usb speed touch 330 sharing

Postby Husse on Sat Nov 07, 2009 12:07 am

Well I have to confess to my ignorance I just learned this - the Network Manager applet has an option for this
Right click > Edit connections > mark your connection > Edit > IPv4 Settings > In the drop down menu change to Shared to other computers
Should not be more complicated, but unfortunately it does not always work
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 13
Level 13
 
Posts: 17624
Joined: Sun Feb 11, 2007 12:22 pm
Location: Near Borås Sweden

Re: usb speed touch 330 sharing

Postby bob5 on Sat Nov 07, 2009 11:15 am

just try ubuntu geek guide
it half works ,i get errors was i type # iptables -t nat -A POSTROUTING -o ethX -j MASQUERADE and # echo 1 > /proc/sys/net/ipv4/ip_forward .

plaese help

thank you
joseph
bob5
Level 1
Level 1
 
Posts: 13
Joined: Sun Oct 11, 2009 1:01 pm

Re: usb speed touch 330 sharing

Postby bob5 on Sat Nov 07, 2009 11:16 am

cool i'll give it go
bob5
Level 1
Level 1
 
Posts: 13
Joined: Sun Oct 11, 2009 1:01 pm

Re: usb speed touch 330 sharing

Postby bob5 on Sat Nov 07, 2009 3:55 pm

the Network Manager applet has an option for this
Right click > Edit connections > mark your connection > Edit > IPv4 Settings > In the drop down menu change to Shared to other computers

that will not work because i am using usb modem manager for my internet
bob5
Level 1
Level 1
 
Posts: 13
Joined: Sun Oct 11, 2009 1:01 pm

Re: usb speed touch 330 sharing

Postby Husse on Sat Nov 07, 2009 7:44 pm

So you are not using NM then?
Have to take a look again - I lost a link to a good solution (maybe I already mentioned that :))
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 13
Level 13
 
Posts: 17624
Joined: Sun Feb 11, 2007 12:22 pm
Location: Near Borås Sweden

Re: usb speed touch 330 sharing

Postby bob5 on Sat Nov 07, 2009 9:44 pm

yes i could not find the framework form http://www.linux-usb.org/SpeedTouch/ubuntu/index.html
so im using usb adsl modem manger from https://launchpad.net/usb-adsl-modem-manager ,it has the framework build in it for my 330 . also after i followed ubuntu geeks guide , i cant update or use install mint or synaptic !!

joseph :evil:
update i found two guide's about the framework
https://help.ubuntu.com/community/UKSpeedtouchDSLHowTo
https://help.ubuntu.com/community/UsbAd ... SpeedTouch
bob5
Level 1
Level 1
 
Posts: 13
Joined: Sun Oct 11, 2009 1:01 pm

Re: usb speed touch 330 sharing

Postby Husse on Thu Nov 12, 2009 8:17 pm

The links in your post of November 7 seems to cover most of the Speedtouch part of this
However I am not going to give advice on IPtables as I don't know much about it and the risk of destroying something is very high, not wise to say something in that situation.
I have struggled with IPtables in a Speedtouch ADSL modem and ever since I dislike Speedtouch :shock:
I think you can remove and reinstall iptables
Code: Select all
apt purge iptables

Code: Select all
apt install iptables

This should give you back normal functionality
Here is one simple solution (Just remember that Firestarter is not normally running - it makes changes to iptables and then shuts down)
This may even be the easy solution I found earlier but failed to take note of
Remember not to modify iptables directly - it's way to complicated, it's better to use a "Firewall"
Firewall is realy not the correct thing to say as they all (?) rely on and adjust iptables
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 13
Level 13
 
Posts: 17624
Joined: Sun Feb 11, 2007 12:22 pm
Location: Near Borås Sweden

Re: usb speed touch 330 sharing

Postby bob5 on Thu Nov 12, 2009 8:44 pm

will do
i'v already tried Firestarter
but no luck
bob5
Level 1
Level 1
 
Posts: 13
Joined: Sun Oct 11, 2009 1:01 pm

Linux Mint is funded by ads and donations.
 
Previous

Return to Other networking topics

Who is online

Users browsing this forum: No registered users and 1 guest