CentOS 5 Networking :: Ppp0 And Ppp1 Keep Switching Around?
Nov 23, 2009
my problem is i have setup 2x ppp used for adsl to split local and international bandwidth ppp0 is using the international account and ppp1 is using the local only account this all works fine but every so often i notice when i do an ifconfig that ppp0 is dialed up on the local account and ppp1 is dialed up on the international one, and sometimes a reboot fixes it and sometimes it doesnt
my config files are the following:
# Default ADSL network config file, as used by redhat
USERCTL=yes
PEERDNS=no
TYPE=xDSL
[Code].....
View 4 Replies
ADVERTISEMENT
Jun 15, 2010
internet works with MTU=1460 for ppp0. I set this up manually using ifconfig. What changes are required so that it is done by default when PPP0 connects or at boot?
View 4 Replies
View Related
Apr 12, 2011
I'm a n00b with these things so be nice please XD I have recently touched on this in previous posts but never came to actually trying to fix it. I have a D-Link DSL-2640R router, with dhcp disabled. It is connected to my computer via ethernet. I have the network manager configuration set to manual with an address of 192.168.1.2, Mask 255.255.255.0 and the gateway column is blank. I would like to know why my eth0 interface seems to stop me browsing.
I use a T-Mobile HUAWEI usb mobile broadband stick, Model E1750 for internet access. If anyone has any ideas as to why this is happening please discuss them. I have also tried editing the /etc/sysctl.conf file and uncommented the net.ipv4.ip_forward=1 line to enable ipv4 packet forwarding. This has not solved my problem.
View 4 Replies
View Related
Oct 28, 2010
I just setup a SuSE 11.3/64 server and I am trying to setup pptpd for a vpn. I noticed thatg the ppp0 (or any pppx) interface is non-exoisting and I think that that is the problem why my gre packages are not being sent by pptpd (as I have checked all other options). I have tcp port 1723, and protocol port 47 (gre) open on the firewall (SuSEfirewall2). I have traced the responses using tcpdump and only when the server sends gre to the remote client, the client never receives it (the 1723 connection is established). I checked the old server (SuSE 10.2) that worked the vpn fine, and the only thing missing on 11.3 is ppp0. All other hardware (routers, etc.) are the same. I suspect that pptpd tries to use ppp0 and the interface is non-existing. I can remotely ssh to the server, dns works, samba works, everything else works. Is it something I am missing? How do I create if ppp0 and link it to eth3, the internet gateway?
As always, a windoze tech crashed the old server and I had to setup the new one in a hurry, just before going on vacation, and people want this done by yesterday? They paid $$$$ to the windoze tech (who said Linux is obsolete) even after he almost brought the company down!
View 2 Replies
View Related
May 18, 2011
I'm running 10.10 64 bit. I have a vpn service and I'd like to configure my bittorrent client to use only the vpn link (and NOT continue through my plain-old ISP service if the vpn drops). I imagine there are a few possible approaches to this:
1.have a script that checks if ppp0 is up an terminates the bt client if not
2.configure the bt client to use only ppp0 (though I tried this with qtorrent and it switches over to eth0 if vpn drops...)
View 1 Replies
View Related
Apr 30, 2011
I am running a CentOS 5.6 as a Virtual Machine on my Laptop. And, to connect to internet I am using a datacard (usb modem) device (Tata Photon +).
Now, internet is working well on my VM through interface ppp0
The problem is that when I start my interface eth0, internet (running through ppp0) stops.
Quote:
[root@kick ~]# ip route show
172.29.242.9 dev ppp0 proto kernel scope link src 14.99.211.189
default dev ppp0 scope link
[root@kick ~]# ip addr sh
1: lo: <LOOPBACK> mtu 16436 qdisc noop
[Code]....
View 4 Replies
View Related
Jan 23, 2010
i want to share the internet connection from Laptop to PC via LAN crossover cable
here's how i connect to the internet in laptop, and connected PC via LAN:
i need to share pppoe(ppp0) to (eth0) , that is what i've been doing in Windows before, but i dont know how to share in Linux, i tried to follow Ubuntu Help about ICS, but it doesn't work
View 9 Replies
View Related
Jul 2, 2010
My machine has Ubuntu 10.4, installed a week ago. I'm connecting to the Internet with a Wireless 3G modem, the interface is named ppp0. Additionally, I have a network card that is connected to a home router, that's eth0. Everything works fine with eth0 disabled, all my apps can access the internet correctly. But, my issue is that when i enable eth0, i can't access the internet with any app.
So why do i need eth0 anyway? The thing is that i must share my internet connection with my sister, who is also connected to our home router. I planned to give her access by installing squid on this machine and configuring her browser to connect to squid. However, since none of my apps can connect to the internet while eth0 is active (whereas squid and all other apps work fine with eth0 disabled) I can't let her connect to squid while squid is working correctly.BTW selecting "use this connection only for resources on its network" under "routes..." of the ipv4 tab of "Auto Ethernet" made it a little better. Firefox and Xchat started to work with eth0 active. Squid still doesn't work though (althought it works just fine with eth0 disabled)
View 4 Replies
View Related
Nov 22, 2009
I have a pppoe adsl connection. When I disconnect and try to reconnect, network-manager keeps asking for my password. I type it again and again with no success. When I reboot, it works again. On ubuntu, I use pppoeconf and it works well. So on Fedora I made a connection with pppoe-setup but neither ifup nor
Code:
pppoe-connect
commands work. When I type
Code:
pppoe-connect
, it says
Code:
/usr/sbin/adsl-start: line 217: 13409 Terminated $CONNECT
"$@" > /dev/null 2>&1
. When I type
Ifup ppp0 doesn't work either. However, with exactly the same settings, ubuntu connects to the internet.
View 2 Replies
View Related
Mar 20, 2010
I have a computer with the release candidate of Windows 7 (which is now expired) that I'm intending to switch over to CentOS. Is there anything I should do(besides backing up files) before I try to install CentOS?
View 9 Replies
View Related
Oct 14, 2010
I'm contemplating to switch from sendmail to postfix. My current setup is very simple: a minimal CentOS 5.5 64bits install with Selinux enabled on ports 25, 80, secret sshd, 53 and 953. I also use Google Apps for my domain to manage the email accounts. Basically, I use sendmail only to email the daily logwatch, as well the email sent from my forum software. The issue that I'm facing is the forum is starting to hammer sendmail with a lot of emails.
My goal is to use Postfix only to send those forum emails. I don't need a SMTP setup, that is handled by Google Apps. Can I do that with Postfix? Will Postfix perform better than sendmail? All guides I saw on internet pair Postfix with Dovecot and the setup is a little complex, not to mention that I will never have email accounts created on server.
I was wondering if you have any handy guide who will basically replace sendmail with Postfix. Personally, I tried myself using the CentOS HowTo. I yum'ed postfix and system-switch-mail, then I disabled sendmail and switched the agent to Postfix. I left the main.cf config unchanged and tried to start Postfix (service postfix start), but I got a "master is stopped" message when I checked the daemon status.
View 3 Replies
View Related
Mar 26, 2009
I just installed PHP 5.2 using this guide [url]
The install did work without errors and is listed correctly on yum but isn't working when I test a php script.
So now I need to downgrade back to the php 5.1 but yum is now stuck on this atomic repository, how do I get back to the Centos repository and downgrade PHP to 5.1?
View 17 Replies
View Related
Jul 15, 2010
i'm using centos 5 and i want to save my setup when switching the user.when i switched user from user1 to user2 and then i logged in user1 back without shutting down, i couldn't see any working window on user1. But since it's working on the CPU, i guess it's working but i cannot just see the window(such as terminal in my case) i was using. i have been using scientific linux which have "save current setup" when logging out. but centos seems not to have that check box!i want to know whether centos can contain the setup for each user when switching user.
View 5 Replies
View Related
Jun 13, 2010
I'm a long time user of CentOS 5 w/KDE 3.5. I have always had this problem to various degrees no matter what installation of CentOS 5 I'm currently on. This same hardware does not exhibit the same symptoms with another OS.The problem is I regularly have many konsole instances open. I alt-tab between them frequently. Inevitably a random alt-tab will freeze the keyboard and the mouse won't be able to click anything although I can move the mouse cursor around. I can't type anything. It seems to have some sort of timeout and it always come back to responsiveness.
I alleviated this problem (I think) by switching keyboards, installing the nvidia driver instead of the nv driver, shutting down all non-essential services.I have seen these symptoms on every system I have installed CentOS 5 where KDE 3.5 was also installed. Very different hardware setups each time.Has anyone else run into similar symptoms?I'm surprised that it's just CentOS 5 w/KDE 3.5 that exhibits this behaviour on the same hardware where other operating systems (gentoo, suse, etc.) did not exhibit these symptoms.
View 1 Replies
View Related
Aug 15, 2010
My Sempron LE-1100 home server (1GB RAM) has run CentOS 5 32-bit happily for years, but I decided to replace its two Seagate 250GB drives (RAID1) with two WD 500GB black drives (RAID1). I decided to do a fresh install and used CentOS 5.5 64-bit this time. Since switching to the 64-bit OS with the new drives, my transfer speed across the LAN has dropped from a reliable 45MB/s to only 18MB/s from other machines to the server, and to 27MB/s from the server to other machines on the LAN. I use gFTP or WinSCP for these transfers (in FTP mode). Prior to installing the new WD drives, I ran the long WD tests on them and they passed, so I don't believe the drives are faulty. I suspect it's more to do with me switching CentOS from i386 to x86_64.
I've got two questions:
1. Is the 64-bit version of CentOS appropriate for a Sempron LE-1100 with 1GB ram, or should I switch back to the i386 version?
2. Is there a reason why switching to the 64-bit OS would negatively impact on transfer speeds? I doubt the new HDDs are faulty...I was expecting them to be faster.
3. Is there anything I can try to improve transfer speeds across the LAN?
According to PHPSysInfo, the network card is "Ethernet controller: nVidia Corporation MCP67 Ethernet".
View 15 Replies
View Related
Nov 23, 2010
I have installed and setup 3G which works perfectly fine. I use sakis3g scripts for connecting to 3G network. My VPN profile created with network manager (client/NetworkManager GUI) works well.
#cnetworkmanager --activate-connection=user,'XXXXX_vpn_singapore',wlan0,&
Now when I do the same with using using ppp0 (which is after connecting to VPN) I get the following error messages. #cnetworkmanager --activate-connection=user,'XXXXX_vpn_singapore',ppp0,&
[Code]...
View 9 Replies
View Related
Mar 28, 2016
I am in serious situation involving PPTP protocol VPN in Debian 8 Jessie stable. I recently became a paid VPN subscriber. Using PPTP; Is there a way to automatically route all traffic through ppp0? Im getting the vpn service killed (ip address goes back to normal unmasked state) whenever there is a power outage (modem reset) and there are alot of those where I live, Im going to get astabilizer and I need a software solution for the situation as well. Theres gotta be a way to route all traffic through the VPN route ppp0 . I tried adding persist and maxfail 0 to the pptp config file but it did not do what i wanted.
Here's my peer configuration file :
pty "pptp blabla.net --nolaunchpppd"
name blablabla
password blablabla
remotename PPTP
file /etc/ppp/options.pptp
require-mppe-128
refuse-eap noauth
persist
maxfail 0
On a second note, its clear to add that I basically need a way to also auto load the line
pppd call blabla.net
and
route add default dev ppp0
On system startup by default so the computer does not use "Wired" connection ^at all^ when not through ppp0. Any other way of not losing VPN anonymity ever due to hardware malfunction.
Is there a way to do this? Ive looked on the net and everything seems like its either from the nineties or can fry my pc , Im no debian expert, less than a year at linux..
Need it to use wired only if ppp0 is being used so if its no vpn, no connection at all period,
View 1 Replies
View Related
Jun 20, 2010
I run in some trouble with my isdn card after switching from fedora 10 to fedora 13 (new installation, no upgrade) I made a default installation, after install and reboot/update I noticed that isdn4k-utils is not installed and I installed it manually. For setup of my isdn card I used system-config-network. But activate isdn (load kernel modules) fails, also with /etc/init.d/isdn start There is no isdn device: output cat /proc/net/dev
Code:
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 945856 2413 0 0 0 0 0 0 945856 2413 0 0 0 0 0 0
eth0:19685713 159678 0 0 0 0 0 0 87669282 139783 0 0 0 0 0 0
output lspci
Code:
05:00.0 Network controller: Elsa AG QuickStep 1000 (rev 01)
I suppose I forgot something at installation time. With fedora 10 everything works fine.
edit: part of /var/log/messages:
Code:
Jun 20 08:46:14 videoserver system-config-network[22408]: rm //etc/sysconfig/networking/profiles//default/resolv.conf
Jun 20 08:46:14 videoserver system-config-network[22408]: ln //etc/resolv.conf //etc/sysconfig/networking/profiles//default/resolv.conf
Jun 20 09:46:24 videoserver kernel: ISDN subsystem Rev: 1.1.2.3/1.1.2.3/1.1.2.2/1.1.2.3/1.1.2.2/1.1.2.2 loaded
[code].....
View 1 Replies
View Related
Sep 23, 2010
Toshiba A215-S5849
Atheros 5001 card. Windows reads it as 5007eg. Wireless runs slowly or not at all. Wiki says that atheros should work out of the box. Am I doing something wrong?
View 1 Replies
View Related
Nov 15, 2010
I have a single pc with both a wired and wireless card in it. I want to take down the wired connection down and bring the wireless connection up with a cronjob at certain parts of the day.
Here are my interfaces:
Code:
eth0 Link encap:Ethernet HWaddr 00:xx:xx:xx:xx:xx
inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::224:1dff:fe64:ecfb/64 Scope:Link
[code]....
Same error applies if eth0 is down and I try to bring it up, I get the same error.As a side note, here is my networking hardware:
Code:
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
01:06.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
View 3 Replies
View Related
Sep 16, 2010
Using iptables is there a way to switch the destination IP to become the new source IP and forward that connection.iptables store the src and dst IP in a variable for a particular connection?
View 2 Replies
View Related
Jun 15, 2011
I discovered that the wifi usb dongle i used for years went bad so i got an asus dongle that i cant get working.Might it be because my system is looking for my old one and the new one isnt being recognized? (e.g.wlan setting?)
View 4 Replies
View Related
Apr 26, 2010
I'm facing an odd issue with my Ubuntu 10.04. So, I have WLAN activated and working on my user account. Then I switch to another account on the same computer and nm-applet tray icon disappears! I have activated the option that all users may use the WLAN connection, but the tray-icon doesn't show up for other users. Only the one who logs in first sees it. Network connection is working properly, but the tray icon would be handy.
Trying to start nm-applet manually in terminal results in an error saying that nm-applet is already running (sure it is, on the first account that logged in). But is it possible to have the tray icon visible for all users?
View 1 Replies
View Related
Jul 13, 2011
I have squid and dansguardian installed on my laptop. What seems to be happening is when I go from home (ethernet) to school (wireless), or from school to home, squid stops working (sites don't load - at least some don't). My fix was to shutdown squid with
Code:
sudo squid -k shutdown
delete the cache folder and then recreate it with
Code:
sudo squid -z
The problem is that this keeps happening and it is becoming a hassle to have to go through the 1-2 minute process every time I change my connection. I had squid and dansguardian set up and working for about a month on this installation and since Christmas on my old installation. This problem has only started recently. Occasionally, I would have to restart my computer because of DNS issues but I did not have to do so every time I changed connections.
View 9 Replies
View Related
Feb 19, 2010
I just started setting up a linux box in the office...I have some experience with ssh commands but not setting up a linux system and stuff.The box is connected to our network but I have no clue how to make windows & osx talk with it. How can I go by doing that and also setting up an apache server to be able to connect through network. Right now I have apache/linux/mysql running it works when i go to localhost, but I would also like to let all the computers in office to access it. I would guess that will deal with virtual host which I know how to setup. I just need to setup an IP.
View 19 Replies
View Related
Jan 18, 2009
I'm having trouble to get connected to the internet on CentOS 5.2 . I have an NVIDIA nForce Networking Controller onboard. And I've been trying to find a driver for this, but I was unsuccesful so far. And if I have a driver, how do I install it? Could anyone please help me to get this working. I'm just a beginner with CentOS and Linux, so I don't have much experience yet. Oh, and I forget to say that Centos 5.2 on VMware does have internet, but I stopped using vmware because it became very laggy on my Vista OS, so I started to use dualboot.
View 19 Replies
View Related
Apr 28, 2009
I'm running a fresh install on an intel i7 system on an asus p6t deluxe v2 motherboard with the onboard NIC (Marvell Technology pci-e). I know the NIC is working as when I boot into the onboard OS that Asus provides (Asus Express Gate SSD)I have a working net connection.Booting up CentOS hangs at determining IP information for eth0 and eventually fails with the following error:PING xxx.170.30.1 from xxx.170.31.231 eth0: 56(84) bytes of data---xxx.170.30.1 ping statistics ---4 packets transmitted, o received, +3 errors, 100% packet loss, time 2999ms, pipe 3 failed.
RTNETLINK answers: file exists.
RTNETLINK answers: file exists.
RTNETLINK answers: file exists.
[code]....
View 14 Replies
View Related
Jan 27, 2009
I have a Centos 5.2 VM running under Windows 2008 Hyper-V. If I add two "legacy Nic's" and bridge them, everything appears to work fine. However, if I remove the legacy nics and replace them with two synthetic nics (linux integration components), the nics seems to function fine UNTIL I add them to a bridge.This VM will eventually be used as a DansGuardian/Squid transparent proxy for a local library. The logical layout is represented by the attached jpg image. I have also included the ifcfg- scripts for the adapters and bridge for both scenarios.It would also be useful if someone else has Hyper-V with the integration components and dual physical nics to see if they can reproduce my symptoms on their box.Legacy Adapters:
ifcfg-br0:
DEVICE=br0
BOOTPROTO=dhcp
[code]....
View 2 Replies
View Related
Jun 27, 2009
This will be a little long (having read Phil's 'how to ask questions' FAQ). I'm trying to get OpenVPN working between my CentOS server and some Windoze laptops running XP. There seems to be plenty of sample
config files available, but to date, none of them have worked for me. Pulling out my trusty Wireshark, I've found some clues,
BACKGROUND:
My local subnet (NAT'ed by my gateway router) is 192.168.52.x. My router has been configured with a conduit (port-forward) for port 1194 (the standard OpenVPN port), which points towards my CentOS server.The CentOS server is .52.112, and the supplicant is .52.110. I have tried the lient both inside and outside my local subnet, with no difference in events or outcomes.
[Code]...
View 2 Replies
View Related
Jan 1, 2010
How can i add a PPPOE connection witch connect automatically on system start up in text mode in centos 5.4
View 3 Replies
View Related