LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-06-2008, 01:27 AM   #1
glumetu
LQ Newbie
 
Registered: May 2008
Posts: 4

Rep: Reputation: 0
Unhappy Speedtouch 546 as bridge under openSuse 10.3


Hello everybody,

I apologize if this has been posted previously, I did search but nothing similar came up.

I cannot set-up my internet connection - here's some background data on my set-up:

ADSL modem: Speedtouch 546v6, DHCP
OS: OpenSuse 10.3
Mode: bridge (I want to put a wireless access point later on)

I have gotten to the point where everything is set-up like this:

Code:
# ifconfig
eth0      Link encap:Ethernet  HWaddr ....  
          inet addr:192.168.0.63  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: .... Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:484 errors:0 dropped:0 overruns:0 frame:0
          TX packets:586 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:38458 (37.5 Kb)  TX bytes:51846 (50.6 Kb)
          Interrupt:21 
 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1440 (1.4 Kb)  TX bytes:1440 (1.4 Kb)
 
ppp0      Link encap:Point-to-Point Protocol  
          inet addr:89.120.xxx.xxx  P-t-P:89.122.yyy.yyy  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:1048 (1.0 Kb)  TX bytes:37 (37.0 b)
 
# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
89.122.yyy.yyy  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
Now I understand that my default gateway should be defined with the interface 'ppp0', not 'eth0' as you can see above.

Right now I'm a bit lost and I need your help - I suspect it may be something very simple - I just don't know what to do to change the default gateway's interface to ppp0.

I did understand that I need first to tell the system, at boot, not to create a default gateway to eth0, because I can't change it afterwards.

Therefore I created a /etc/sysconfig/network/ifcfg-ppp0 file with this configuration:

Code:
STARTMODE=auto
IFPLUGD_PRIORITY=
BOOTPROTO=dhcp
IPADDR=192.168.1.65
NETMASK=255.255.255.0
PREFIXLEN=
BROADCAST=
REMOTE_IPADDR=
LABEL=
SCOPE=
IP_OPTIONS=
INTERFACETYPE=
MTU=1492
LLADDR=
LINK_OPTIONS=
ETHTOOL_OPTIONS=
RUN_POLL_TCPIP=
USERCONTROL=
 
NAME=
UNIQUE=
_nm_name=
 
NM_CONTROLLED=no
 
BRIDGE='yes'
BRIDGE_PORTS='eth0'
BRIDGE_AGEINGTIME='300'
BRIDGE_FORWARDDELAY='0'
BRIDGE_HELLOTIME='2'
BRIDGE_MAXAGE='20'
BRIDGE_PATHCOSTS='19'
BRIDGE_PORTPRIORITIES=''
BRIDGE_PRIORITY=''
BRIDGE_STP='on'
this didn't really help at all

Many thanks for pointing in the right direction!

regards,
glu
 
Old 05-06-2008, 01:32 AM   #2
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Rep: Reputation: 174Reputation: 174
Welcome aboard glu................I'm sure one of the guru's here will provide the answer your looking for.
 
Old 05-06-2008, 01:59 AM   #3
glumetu
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by SqdnGuns View Post
Welcome aboard glu................I'm sure one of the guru's here will provide the answer your looking for.
thanks mate, I promise I will give Slackware a shot if I get through this
 
Old 05-06-2008, 02:06 AM   #4
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Rep: Reputation: 174Reputation: 174
Lightbulb

Quote:
Originally Posted by glumetu View Post
thanks mate, I promise I will give Slackware a shot if I get through this
Here's a pointer......document everything you do once you get this up and running.
 
Old 05-06-2008, 02:07 AM   #5
glumetu
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by SqdnGuns View Post
Here's a pointer......document everything you do once you get this up and running.
I already am
 
Old 05-06-2008, 10:58 AM   #6
lsteacke
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 99

Rep: Reputation: 16
Try this command


Code:
route add -net 192.168.0.0/24 gw 89.120.xxx.xxx dev ppp0
 
Old 05-06-2008, 01:22 PM   #7
glumetu
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
thanks a lot lsteacke, I have solved it an hour ago already, it was actually my DHCP client which was overwriting the default gateway, so I just shut it down, deleted my own config files (stupid anyway), I modified in /etc/systconfig/network/ifcfg-eth0 the BOOTPROT0 to 'static', re-ran pppoe-setup with the already default values, then pppoe-start... and I was in!

woo-hoo!
 
  


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
Speedtouch 330 problems in openSUSE Funky91 Linux - Hardware 3 01-02-2008 09:54 AM
opensuse 10.2 speedtouch usb adsl modem lorne444 SUSE / openSUSE 0 02-12-2007 07:13 AM
Problem With Speedtouch Modem And Opensuse 10.2 royelliott Linux - Networking 5 01-27-2007 02:18 AM
Live CD with speedtouch SpeedTouch 330 support Irina 22 Linux - Software 1 11-14-2005 09:52 AM
alcatel USB speedtouch through PCI bridge (mandrake 9.1) crash369 Linux - Newbie 1 09-13-2003 10:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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