Hi,
I'm using Debian 5 w/ mutt, postfix, fetchmail, procmail. I have discontinued my mtnl triband and taken a reliance broadband netconnect connection.
I've configured the stuff in the usual way but fetchmail is acting up. These are the error messages. ----------------- fetchmail: connection to localhost:smtp [::1/25] failed: Network is unreachable. fetchmail: SMTP connect to localhost failed -----------------
also: --------------------- sharukh@opium:~$ telnet localhost 25 Trying ::1... telnet: Unable to connect to remote host: Network is unreachable ---------------------
------------------- lsof -i:25
gives no output -------------------
please help, I have googled but am a bit lost.
Thanks,
Sharukh
On Friday 05 Jun 2009, Dr. Sharukh K. R. Pavri. wrote:
Hi,
I'm using Debian 5 w/ mutt, postfix, fetchmail, procmail. I have discontinued my mtnl triband and taken a reliance broadband netconnect connection.
I've configured the stuff in the usual way but fetchmail is acting up. These are the error messages.
fetchmail: connection to localhost:smtp [::1/25] failed: Network is unreachable.
Your lo interface is not up for some reason. Try a /etc/init.d/networking restart (or the equivalent in your distribution). ifconfig, ping 127.0.0.1 and route -n are your friends for determining whether the interface and the local route is up or not.
Regards,
-- Raju
On Fri, 05 Jun 2009, Raj Mathur wrote:
On Friday 05 Jun 2009, Dr. Sharukh K. R. Pavri. wrote:
Hi,
I'm using Debian 5 w/ mutt, postfix, fetchmail, procmail. I have discontinued my mtnl triband and taken a reliance broadband netconnect connection.
I've configured the stuff in the usual way but fetchmail is acting up. These are the error messages.
fetchmail: connection to localhost:smtp [::1/25] failed: Network is unreachable.
Your lo interface is not up for some reason. Try a /etc/init.d/networking restart (or the equivalent in your distribution). ifconfig, ping 127.0.0.1 and route -n are your friends for determining whether the interface and the local route is up or not.
/etc/init.d/networking restart just says networking restarted.
I get errors of network unreachable.
I'm not at that machine right now so I'l give you the output of the other stuff tomorrow.
thanks,
Sharukh.
hi On Fri, Jun 5, 2009 at 9:23 PM, Dr. Sharukh K. R. Pavri. lists@pavri.netwrote:
On Fri, 05 Jun 2009, Raj Mathur wrote:
On Friday 05 Jun 2009, Dr. Sharukh K. R. Pavri. wrote:
Hi,
I'm using Debian 5 w/ mutt, postfix, fetchmail, procmail. I have discontinued my mtnl triband and taken a reliance broadband netconnect connection.
I've configured the stuff in the usual way but fetchmail is acting up. These are the error messages.
fetchmail: connection to localhost:smtp [::1/25] failed: Network is unreachable.
I guess you shoulde check the setting in postfix and fetchmail. The error itself indicate i.e you have set it to use "ipV6". Just disabled or comment the line which ask for ipv6 and try to restart your service. It will work.
Your lo interface is not up for some reason. Try a /etc/init.d/networking restart (or the equivalent in your distribution). ifconfig, ping 127.0.0.1 and route -n are your friends for determining whether the interface and the local route is up or not.
/etc/init.d/networking restart just says networking restarted.
I get errors of network unreachable.
I'm not at that machine right now so I'l give you the output of the other stuff tomorrow.
thanks,
Sharukh.
Dr. Sharukh K. R. Pavri. Homoeopath, Linuxer. You're too good for him. Sign over mirror in Women's restroom Ed Debevic's, Beverly Hills,CA. -- http://mm.glug-bom.org/mailman/listinfo/linuxers
Regards, Ginovation
Quoting "Dr. Sharukh K. R. Pavri." lists@pavri.net:
On Fri, 05 Jun 2009, Raj Mathur wrote:
On Friday 05 Jun 2009, Dr. Sharukh K. R. Pavri. wrote:
Hi,
I'm using Debian 5 w/ mutt, postfix, fetchmail, procmail. I have discontinued my mtnl triband and taken a reliance broadband netconnect connection.
I've configured the stuff in the usual way but fetchmail is acting up. These are the error messages.
fetchmail: connection to localhost:smtp [::1/25] failed: Network is unreachable.
Your lo interface is not up for some reason. Try a /etc/init.d/networking restart (or the equivalent in your distribution). ifconfig, ping 127.0.0.1 and route -n are your friends for determining whether the interface and the local route is up or not.
/etc/init.d/networking restart just says networking restarted.
I get errors of network unreachable.
I'm not at that machine right now so I'l give you the output of the other stuff tomorrow.
Ok, i'm back at the machine. Postfix refuses to start with this error.
------------------------------ sharukh@opium:~$ sudo postfix start postfix: fatal: parameter inet_interfaces: no local interface found for 127.0.0.1
------------------------------- sharukh@opium:~$ /sbin/route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 220.224.141.129 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
(I'm online with reliance netconnect thru ppp0 -- otherwise the above command shows nothing.) -------------------------------
sharukh@opium:~$ ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. ^C --- 127.0.0.1 ping statistics --- 90 packets transmitted, 0 received, 100% packet loss, time 89030ms
--------------------------------
sharukh@opium:~$ /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:13:20:24:d3:9c UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol inet addr:115.240.27.149 P-t-P:220.224.141.129 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:1587 errors:15 dropped:0 overruns:0 frame:0 TX packets:1640 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:1378831 (1.3 MiB) TX bytes:361480 (353.0 KiB)
---------------------------------
If I do sudo /sbin/ifconfig lo up
lo comes up with
sharukh@opium:~$ /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:13:20:24:d3:9c UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol inet addr:115.240.27.149 P-t-P:220.224.141.129 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:1587 errors:16 dropped:0 overruns:0 frame:0 TX packets:1640 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:1378831 (1.3 MiB) TX bytes:361480 (353.0 KiB)
--------------------------
After I bring up lo, postfix starts up normally. As an aside, while installing, debian had barfed on setting up the network. I had to go into expert install and skip that step as it complained of not finding a network interface.
What now ? Why is lo not coming up automatically ?
thanks,
On Saturday 06 Jun 2009, lists@pavri.net wrote:
Quoting "Dr. Sharukh K. R. Pavri." lists@pavri.net: Ok, i'm back at the machine. Postfix refuses to start with this error.
sharukh@opium:~$ sudo postfix start postfix: fatal: parameter inet_interfaces: no local interface found for 127.0.0.1
sharukh@opium:~$ /sbin/route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 220.224.141.129 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
(I'm online with reliance netconnect thru ppp0 -- otherwise the above command shows nothing.)
sharukh@opium:~$ ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. ^C --- 127.0.0.1 ping statistics --- 90 packets transmitted, 0 received, 100% packet loss, time 89030ms
sharukh@opium:~$ /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:13:20:24:d3:9c UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol inet addr:115.240.27.149 P-t-P:220.224.141.129 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:1587 errors:15 dropped:0 overruns:0 frame:0 TX packets:1640 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:1378831 (1.3 MiB) TX bytes:361480 (353.0 KiB)
If I do sudo /sbin/ifconfig lo up
lo comes up with
sharukh@opium:~$ /sbin/ifconfig 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
After I bring up lo, postfix starts up normally. As an aside, while installing, debian had barfed on setting up the network. I had to go into expert install and skip that step as it complained of not finding a network interface.
What now ? Why is lo not coming up automatically ?
Do you have a line like the following in /etc/network/interfaces?
iface lo inet loopback
Regards,
-- Raju
On Sat, 06 Jun 2009, Raj Mathur wrote:
On Saturday 06 Jun 2009, lists@pavri.net wrote:
<snip>
Do you have a line like the following in /etc/network/interfaces?
iface lo inet loopback
Yes, finally figured it out myself this morning :) the file was empty. Had to put in the line from man interfaces. This was definitely after reading Raju's mail where he correctly diagnosed that lo was not coming up. Thanks !!
What I can't understand is, why was that file empty in the first place. As I said in an earlier mail, the debian install had barfed at not finding a network interface. I had to go into expert install and skip that step. Could this be flaky hardware ?
Thanks,
Sharukh
Dr. Sharukh K. R. Pavri. wrote:
What I can't understand is, why was that file empty in the first place. As I said in an earlier mail, the debian install had barfed at not finding a network interface. I had to go into expert install and skip that step. Could this be flaky hardware ?
Was it the Ali network card? I faced a problem installing Debian 5 on a client's 3 machines that used the same hardware. The funny part was that Lenny live CD brought the card up but the Lenny installation DVD did not detect it while installation.
lists@pavri.net wrote:
After I bring up lo, postfix starts up normally. As an aside, while installing, debian had barfed on setting up the network. I had to go into expert install and skip that step as it complained of not finding a network interface.
What now ? Why is lo not coming up automatically ?
While you are at it, could you tell us what happened to your earlier query of Reliance working only on one machine not both? After people take interest to solve a problem, if there is no final result, it gets confusing. In case I have missed something, my apologies in advance. :-)
On Sat, 06 Jun 2009, Rony wrote:
lists@pavri.net wrote:
<snip>
While you are at it, could you tell us what happened to your earlier query of Reliance working only on one machine not both? After people take interest to solve a problem, if there is no final result, it gets confusing. In case I have missed something, my apologies in advance. :-)
-- Regards,
No, reliance is working pretty well. I've only tried it on one machine. As usual customer care is the pits. I _had_ to go to a friend's place to use his windows machine to activate the usb modem. After that it's working liek a charm with wvdial.
When I tried to register my phone number on the reliance website, it gave me an error that the number was already registered. :(
regards,
Sharukh.
Dr. Sharukh K. R. Pavri. wrote:
On Sat, 06 Jun 2009, Rony wrote:
lists@pavri.net wrote:
<snip>
While you are at it, could you tell us what happened to your earlier query of Reliance working only on one machine not both? After people take interest to solve a problem, if there is no final result, it gets confusing. In case I have missed something, my apologies in advance. :-)
-- Regards,
No, reliance is working pretty well. I've only tried it on one machine. As usual customer care is the pits. I _had_ to go to a friend's place to use his windows machine to activate the usb modem. After that it's working liek a charm with wvdial.
When I tried to register my phone number on the reliance website, it gave me an error that the number was already registered. :(
What Reliance service and device are you using? Why the USB modem? Did you try cloning the MAC id of the other machine with the one that works? Its a simple solution. Add the line hwaddress ether [mac id] to your eth device in the /etc/network/interfaces file.
eg:
auto eth0 dhcp iface eth0 inet dhcp hwaddress ether 02:01:02:03:04:08
http://www.youritronics.com/how-to-change-the-mac-address-in-linux-debian/
On Sat, 06 Jun 2009, Rony wrote:
Dr. Sharukh K. R. Pavri. wrote:
On Sat, 06 Jun 2009, Rony wrote:
lists@pavri.net wrote:
<snip>
While you are at it, could you tell us what happened to your earlier query of Reliance working only on one machine not both? After people take interest to solve a problem, if there is no final result, it gets confusing. In case I have missed something, my apologies in advance. :-)
I never had that problem :). Anyway I checked it out with three different machines. Works if you have the relevant lines in wvdial.conf.
I had asked the sales guy whether they did any mac address binding but I don't think the guy knew what I was talking about. :(
regards,
Sharukh.
Dr. Sharukh K. R. Pavri. wrote:
On Sat, 06 Jun 2009, Rony wrote:
Dr. Sharukh K. R. Pavri. wrote:
On Sat, 06 Jun 2009, Rony wrote:
lists@pavri.net wrote:
<snip>
While you are at it, could you tell us what happened to your earlier query of Reliance working only on one machine not both? After people take interest to solve a problem, if there is no final result, it gets confusing. In case I have missed something, my apologies in advance. :-)
I never had that problem :).
This one. Sorry I mentioned Reliance, I was referring to Hathway.
"I am using Hathway cable internet where they bind your ip settings to your pc. If I unplug the lan cable from the pc and plug it into my laptop, I cannot browse. They are using some sort of dhcp with a static ip (I know that sounds funny - but that's what they say). "
Anyway I checked it out with three different machines. Works if you have the relevant lines in wvdial.conf.
Why wvdial for the above connection? It is a simple DHCP LAN.
I had asked the sales guy whether they did any mac address binding but I don't think the guy knew what I was talking about. :(
Hathway asks for your mac ID when doing any installation or resetting it for a different device or recovering from a messup.
On Wed, 10 Jun 2009, Rony wrote:
Dr. Sharukh K. R. Pavri. wrote:
On Sat, 06 Jun 2009, Rony wrote:
Dr. Sharukh K. R. Pavri. wrote:
On Sat, 06 Jun 2009, Rony wrote:
lists@pavri.net wrote:
<snip>
While you are at it, could you tell us what happened to your earlier query of Reliance working only on one machine not both? After people take interest to solve a problem, if there is no final result, it gets confusing. In case I have missed something, my apologies in advance. :-)
I never had that problem :).
This one. Sorry I mentioned Reliance, I was referring to Hathway.
"I am using Hathway cable internet where they bind your ip settings to your pc. If I unplug the lan cable from the pc and plug it into my laptop, I cannot browse. They are using some sort of dhcp with a static ip (I know that sounds funny - but that's what they say). "
That problem still remains. But I spoof my laptop's mac id and can get online. You just have to remember to switch off the modem, unplug the lan cable from desktop, plug it into the laptop and switch on the modem.
Anyway I checked it out with three different machines. Works if you have the relevant lines in wvdial.conf.
Why wvdial for the above connection? It is a simple DHCP LAN.
I was talking about reliance netconnect broadband. It's a usb thingy that you plug in to get online.
regards,
Sharukh
Dr. Sharukh K. R. Pavri. wrote:
Why wvdial for the above connection? It is a simple DHCP LAN.
I was talking about reliance netconnect broadband. It's a usb thingy that you plug in to get online.
That's great. Someone on this list had asked earlier whether the new USB broadband works in Linux. Could you give an outline of how it is setup on the Linux box?
On Thu, 11 Jun 2009, Rony wrote:
Dr. Sharukh K. R. Pavri. wrote:
Why wvdial for the above connection? It is a simple DHCP LAN.
I was talking about reliance netconnect broadband. It's a usb thingy that you plug in to get online.
That's great. Someone on this list had asked earlier whether the new USB broadband works in Linux. Could you give an outline of how it is setup on the Linux box?
Just plug it in and it should be recognised (atleast debian 5 and kubuntu jaunty recognises it ot of the box) You will need the following in your wvdial.conf:
------------------- [Dialer Defaults]
[Modem0] Modem = /dev/ttyUSB0 Baud = 115200 SetVolume = 0 Dial Command = ATDT Init1 = ATZ FlowControl = Hardware (CRTSCTS) [Dialer cdma] Username = your 10 digit tel no here (its on the back of the box) Password = your 10 digit tel no here Phone = #777 Stupid Mode = 1 Inherits = Modem0 ------------------------------
then sudo wvdial cdma
and you are away.
The only problem is that ou can't activate the card on linux. You will have to get hold of a windows box for the same or ask the reliance chappie to do it for you.
regards,
Sharukh.
Dr. Sharukh K. R. Pavri. wrote:
On Thu, 11 Jun 2009, Rony wrote:
Dr. Sharukh K. R. Pavri. wrote:
Why wvdial for the above connection? It is a simple DHCP LAN.
I was talking about reliance netconnect broadband. It's a usb thingy that you plug in to get online.
That's great. Someone on this list had asked earlier whether the new USB broadband works in Linux. Could you give an outline of how it is setup on the Linux box?
Just plug it in and it should be recognised (atleast debian 5 and kubuntu jaunty recognises it ot of the box) You will need the following in your wvdial.conf:
I had tried the earlier Reliance USB modem (CDMA 1x) on a linux box and it was detected as a CD ROM. After setting it up in Doze, I came to know that it has a small memory space that has built in drivers for auto loading in doze. At that time wvdialconf failed to detect the modem.