[SOLVED] debian 7 on a machine with windows 7 and openSUSE 12.2
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
Neither works , it connects through ifupdown instead of wired, and it has the same value as I set in the interfaces file !
I feel so frustrated, I use linux since 2005, and in Mandriva never encountered such a thing .
I just want it to work.
what do you mean by that? After editing /etc/network/interfaces what command are you running to bring the interface up?
Quote:
After edition the interfaces file I restart the NetworkManager, by /etc/init.d/network-manager restart.
Quote:
So bringing the interface up does work? What are you actually doing and what what happens?
In the NetworkManager and under wired, there are two options ifupdown(eth0) and DSL, it refuses to connect through DSL, but succeeds to connect to the ifupdown, and it has the same IP and netmask like those on the interface file.
Quote:
What are you encountering exactly?
When I boot into debian 7, sometimes it connects successfully into DSL, and after about an hour the connection drops, and any attempt to reconnect later fails.
Hi,
I created the DSL connection using graphical tool(which I don't remember its name), under system -> network -> DSL, there are the options to create wired, Broadband,VPN ... .
Quote:
How is your router set up
I don't know what you mean .
It is connected to my computer through a cabel to the ethernet card.
Why would you you create a DSL connection if you're not using a DSL modem? If the router is not connected by a USB port or set up to run in bridged mode, then you are probably not using a DSL connection.
I am sorry, actually I do use a DSL modem, it is D-Link DSL 2500U.
Regarding bridge connection, I am not expert, but what I do know, is that, I don't have the option to set my username and password through the IP asddress of the modem, but rather while creating the DSL connection.
Well the wifi connection is not much use to you with that router/modem...
It does seem to be a router and supports, NAT, PPPoE, PPPoA and bridged. I suggest reading the manual and getting it set up to allow you to connect via ethernet (not as a DSL modem).
Hi,
OK, so I read through the link below, I managed to understand that to set the username and password I get from the ISP I have to choose a different WAN option rather than Bridged, is that write?
Next I am not sure which option to choose, is it PPPoA or PPPoE ? (page 17)
Third if my router ip address ends with 138, from where does my IP address starts from and till where it ends ?is it 139-254 ?
Also what is PPPoE service name? is it the name of ISP?
OK the bridged mode (not the same thing as a bridged modem) is correct - don't mess with that. The device is a router and DSL modem, it it is not a modem and you should not be trying to set up network manager to use it as a modem. I would advise that you just get rid of network manager and set up your connection using the networking daemon. You won't see any benefit from using network manager if you don't have a wireless connection.
Stop and disable networkmanager (for now)
Code:
# /etc/init.d/network-manager stop
Code:
# update-rc.d network-manager disable
Edit /etc/network/interfaces as follows
Code:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
(ensure your primary interface is called eth0 if it's eth1, substitute with that etc)
Restart networking daemon (not network-manager)
Code:
# /etc/init.d/networking restart
You should see "dhcpdiscover" and then a connection.
If there is a problem, you need to post the full output and the contents of /etc/network/interfaces
Hi,
network-manager has no option to disable, only stop,restart,start,status... .
What modification shall I do to the router through its IP?
Here is the output I get, I delete the MAC address of my eth0 and the IP of the router .
Quote:
[warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
[....] Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/my-mac-address
Sending on LPF/eth0/my-mac-address
Sending on Socket/fallback
DHCPRELEASE on eth0 to x.x.x.138 port 67
Reloading /etc/samba/smb.conf: smbd only.
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/my-mac-address
Sending on LPF/eth0/my-mac-address
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from x.x.x.138
DHCPACK from x.x.x.138
Reloading /etc/samba/smb.conf: smbd only.
bound to x.x.x.1 -- renewal in 1764 seconds.
ifup: interface eth0 already configured
done.
If the IP addresses you're hiding starts with e.g. 192.168.x then there is no point in hiding them as they're supposed to be private addresses - that's the whole idea of a NAT router.
Can you ping the router?
e.g.
Code:
$ ping x.x.x.138
(substitute the full gateway address)
If yes can you ping a hostname?
Code:
$ ping google.com
If not can you ping the IP address for that hostname?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.