<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>ifup &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/ifup/</link>
	<description>Feed of posts on WordPress.com tagged "ifup"</description>
	<pubDate>Tue, 29 Dec 2009 06:33:41 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[[Network] Fix wired network connection]]></title>
<link>http://nixtricks.wordpress.com/2009/08/29/network-fix-wired-network-connection/</link>
<pubDate>Sat, 29 Aug 2009 04:53:18 +0000</pubDate>
<dc:creator>kousik</dc:creator>
<guid>http://nixtricks.wordpress.com/2009/08/29/network-fix-wired-network-connection/</guid>
<description><![CDATA[Wireless problems often baffle me &#8212; so let&#8217;s postpone that for another post; right now w]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Wireless problems often baffle me &#8212; so let&#8217;s postpone that for another post; right now we&#8217;ll focus on the wired network problems which is less common than the other one!</p>
<p>While using Ubuntu based systems, I often found that network manager just got into the way whenever I wanted to fix an internet connection. So, first thing to do is to kill the associated processes (kill -9) after you find the process ID by using <code> top </code> or <code> htop </code> (if installed). Or you can totally get rid of these packages (usually <code>network-manager, network-manager-gnome </code> in Gnome or <code> knetworkmanager </code> in KDE). </p>
<p>Then, edit <code> /etc/network/interfaces </code> file  (you need to precede it by <code>sudo</code>) so that the lines for wired interface (usually <code> eth0</code>  &#8212; find this by issuing <code> sudo ifconfig </code>, first) look like the following:<br />
<code><br />
 auto eth0<br />
iface eth0 inet dhcp<br />
</code></p>
<p>again assuming that we want to have a DHCP based connecton (which is the case most of the time and it&#8217;s, ofcourse, easier to fix!).</p>
<p>Then restart the network connection by issuing the following command:<br />
<code> sudo /etc/init.d/networking restart </code></p>
<p>And then bring <code> eth0 </code> first down, then up using<br />
<code> sudo ifdown eth0; sudo ifup eth0 </code></p>
<p>This should be the first step toward troubleshooting the wired internet connection. The things starts getting just better if these steps fail &#8230;&#8230;well, let&#8217;s leave that for another post.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Linux: Bouncing Interfaces.  ifconfig vs ifup]]></title>
<link>http://blog.colovirt.com/2008/11/25/linux-bouncing-interfaces-ifconfig-vs-ifup/</link>
<pubDate>Tue, 25 Nov 2008 05:03:37 +0000</pubDate>
<dc:creator>Kevin Goodman</dc:creator>
<guid>http://blog.colovirt.com/2008/11/25/linux-bouncing-interfaces-ifconfig-vs-ifup/</guid>
<description><![CDATA[The differences here are pretty simple.  &#8216;ifconfig&#8217; allows for actual modification of se]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The differences here are pretty simple.  &#8216;ifconfig&#8217; allows for actual modification of settings and state of a network adapter.  This will affect the current running configuration.</p>
<p><strong>Setting IP information</strong><br />
ifconfig &#60;interface&#62; &#60;ip addr&#62; netmask &#60;netmask&#62;<br />
<strong></strong></p>
<p><strong>Example</strong><br />
ifconfig eth1 10.1.1.200 netmask 255.255.255.0</p>
<p><strong>Display currently up interfaces</strong><br />
# ifconfig<br />
lo        Link encap:Local Loopback<br />
inet addr:127.0.0.1  Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING  MTU:16436  Metric:1<br />
RX packets:162 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:162 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:0<br />
RX bytes:85013 (83.0 KiB)  TX bytes:85013 (83.0 KiB)</p>
<p><strong>Bring up an interface</strong><br />
# ifconfig eth1 up</p>
<p><!--more--><strong>Re-display up interfaces</strong><br />
# ifconfig<br />
eth1      Link encap:Ethernet  HWaddr 00:50:56:A6:32:50<br />
<strong>inet addr:10.1.1.200 </strong> Bcast:10.1.1.255  <strong>Mask:255.255.255.0</strong><br />
inet6 addr: fe80::250:56ff:fea6:3250/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 b)  TX bytes:18956 (18.5 KiB)<br />
Interrupt:185 Base address:0&#215;1480</p>
<p>lo        Link encap:Local Loopback<br />
inet addr:127.0.0.1  Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING  MTU:16436  Metric:1<br />
RX packets:162 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:162 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:0<br />
RX bytes:85013 (83.0 KiB)  TX bytes:85013 (83.0 KiB)<br />
&#8216;ifconfig &#60;interface&#62; down&#8217; will take the specified interface <strong>offline</strong>.</p>
<p>&#8216;ifup&#8217; will bring up the specified interface with the settings stored in &#8216;/etc/sysconfig/network-scripts/ifup-interfaceName&#8217;.  Below is an example of that file.</p>
<p><strong># cat /etc/sysconfig/network-scripts/ifcfg-eth1</strong><br />
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]<br />
DEVICE=eth0<br />
BOOTPROTO=static<br />
DHCPCLASS=<br />
HWADDR=00:50:56:A6:6C:9B<br />
IPADDR=10.0.0.155<br />
NETMASK=255.255.255.0<br />
ONBOOT=yes</p>
<p>&#8216;ifdown &#60;interface&#62;&#8217; will take the specified interface <strong>offline </strong>as well.</p>
<p><strong>Note:  This is from a Centos / RedHat Linux server.  The stored network interface file might not be located under the sysconfig directory on other versions.  So basically, if you &#8220;fat finger&#8221; configuration information on an interface, you can just ifdown than ifup that interface to reload the previously saved settings.</strong></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ifup eth0 vs ifconfig eth0 up]]></title>
<link>http://paragasu.wordpress.com/2008/10/30/ifup-eth0-vs-ifconfig-eth0-up/</link>
<pubDate>Thu, 30 Oct 2008 08:52:30 +0000</pubDate>
<dc:creator>paragasu</dc:creator>
<guid>http://paragasu.wordpress.com/2008/10/30/ifup-eth0-vs-ifconfig-eth0-up/</guid>
<description><![CDATA[#ifup eth0 #ifconfig eth0 up both work the same way. ifup will configure network based on /etc/netwo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><code><br />
#ifup eth0<br />
#ifconfig eth0 up<br />
</code></p>
<p>both work the same way. ifup will configure network based on  /etc/network/interfaces. <br />
ifconfig use to configrue kernel resident network interfaces</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Linux Command 14 = ifconfig, ifup, ifdown, ping, traceroute, host, dig]]></title>
<link>http://linuxfrombeginning.wordpress.com/2008/09/30/linux-command-14-ifconfig-ifup-ifdown-ping-traceroute-host-dig/</link>
<pubDate>Tue, 30 Sep 2008 08:15:41 +0000</pubDate>
<dc:creator>linuxlibrary</dc:creator>
<guid>http://linuxfrombeginning.wordpress.com/2008/09/30/linux-command-14-ifconfig-ifup-ifdown-ping-traceroute-host-dig/</guid>
<description><![CDATA[1) ifconfig = allows the operating system to setup network interfaces and allow the user to view inf]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>1) <strong>ifconfig </strong>= allows the operating              system to setup network interfaces and allow the user to view              information about the configured network interfaces</p>
<p>Examples</p>
<p><strong>ifconfig</strong></p>
<p class="tab">View the network settings on              the Ethernet adapter currently used.</p>
<p class="tab"><strong>ifconfig eth0</strong></p>
<p class="tab">View the network settings on              the first Ethernet adapter installed in the computer.</p>
<p class="tab"><strong>ifconfig -a</strong></p>
<p class="tab">Display into on all network interfaces on server,  			active or inactive.</p>
<p class="tab"><strong>ifconfig eth0 down</strong></p>
<p class="tab">If eth0 exists would take it down causing it cannot  			send or receive any information.</p>
<p class="tab"><strong>ifconfig eth0 up</strong></p>
<p class="tab">If eth0 exists and in the down state would return it  			back to the up state allowing to to send and receive information.</p>
<p class="tab"><strong>ifconfig eth0 192.168.1.102 netmask 255.255.255.0  			broadcast 192.168.1.255</strong></p>
<p class="tab">Assign eth0 with the above values for 			IP, 			netmask and 			broadcast address.</p>
<p class="tab"><span style="color:#ffffff;">.</span></p>
<p class="tab">2) <strong>ifup </strong>= bring a network interface up</p>
<p class="tab"><strong>ifup eth0</strong> &#8211; bring up interface eth0</p>
<p class="tab"><span style="color:#ffffff;">.</span></p>
<p class="tab">3) <strong>ifdown </strong>=  bring a network interfacedown</p>
<p class="tab"><strong>ifdown eth2</strong> &#8211; bring down interface eth2</p>
<p class="tab"><span style="color:#ffffff;">.</span></p>
<p class="tab">4) <strong>ping </strong>= ping allows            a user to ping another network IP address. This can help determine if            the network is able to communicate with the network.</p>
<p class="tab">Example:</p>
<p><strong>ping gmail.com</strong> &#8211; Would ping the gmailhost .com to see if it is alive.</p>
<p><strong>ping gmail.com -c 1</strong> &#8211; Would ping the hgmailost .com once and return to the command line</p>
<p><span style="color:#ffffff;">.</span></p>
<p>5) <strong>traceroute </strong>= print the route packets take to network host</p>
<p>Examples:</p>
<p><strong>$ traceroute google.co.in</strong> &#8212; Trace the route for Google Server.</p>
<p><strong>$ traceroute -v 192.168.12.1 </strong>&#8211; Show more details.</p>
<p><strong>$ traceroute -n server</strong> &#8212; Print the HOP Address in numeric form.<br />
<strong><br />
$ traceroute -I server</strong> &#8212; Use ICMP ECHO instead of UDP datagrams.<br />
<strong><br />
$ tracerout</strong>e<strong> -i eth1 serve</strong>r &#8212; Use eth1 for send the probe packets.<br />
<strong><br />
$ traceroute server 100</strong> &#8212; Sent 100 Bytes packet instead of default 40 Bytes packet.</p>
<p>6) <strong>host </strong>= simple utility for performing DNS (Domain Name Service) lookups.  It is normally used to convert names to IP addresses and vice versa</p>
<p>Examples:</p>
<p><strong>$ host google.com</strong> &#8212; Show the IP Address of Google.com.</p>
<p><strong>$ host -v google.com</strong> &#8212; Show detailed output.</p>
<p><strong>$ host -a google.com</strong> &#8212; Show more details.</p>
<p><strong>$ host 127.0.0.1</strong> &#8212; Do reverse lookup and Show the host name.</p>
<p><strong>$ host -l mydomain.com</strong> &#8212; List all hosts available in MyDomain.</p>
<p><span style="color:#ffffff;">.</span></p>
<p>7) <strong>dig </strong>= DNS lookup utility</p>
<p>Ecamples:</p>
<p><strong>dig yahoo.com</strong></p>
<p><strong>dig 66.94.234.13</strong></p>
<p><strong>dig -x 192.168.52.</strong></p>
<p><strong>dig -t ANY yahoo.com</strong></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Redes]]></title>
<link>http://thexayon.wordpress.com/2008/03/11/redes/</link>
<pubDate>Tue, 11 Mar 2008 15:20:47 +0000</pubDate>
<dc:creator>xayon</dc:creator>
<guid>http://thexayon.wordpress.com/2008/03/11/redes/</guid>
<description><![CDATA[Bien, hoy una curiosidad, un tanto Off-topic. Aqui estan los planos de la red de mi casa y la de mi ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Bien, hoy una curiosidad, un tanto <i>Off-topic</i>.<br />
Aqui estan los planos de la red de mi casa y la de mi abuela.<br />
<a href="http://thexayon.wordpress.com/files/2008/03/planos.png" title="Planos"></a></p>
<div style="text-align:center;"><a href="http://thexayon.wordpress.com/files/2008/03/planos.png" title="Planos"><img src="http://thexayon.wordpress.com/files/2008/03/planos.thumbnail.png" alt="Planos" height="155" width="187" /></a></div>
<p>¿A donde quiero llegar con todo esto? &#8211; Os preguntareis &#8211; Pues bien, aqui teneis un pequeño y básico manual sobre configuracion de redes en linux:</p>
<p>Editado: Este post habia salido demasiado largo así que lo he dividido en dos manuales, uno sobre <a href="http://thexayon.wordpress.com/manuales/ifconfig/"><i>ifconfig</i></a> y otro sobre <a href="http://thexayon.wordpress.com/manuales/ifup/"><i>ifup</i></a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[how to renew dhcp ip address in linux client]]></title>
<link>http://linuxunix.wordpress.com/2007/11/24/how-to-renew-dhcp-ip-address-in-linux-client/</link>
<pubDate>Sat, 24 Nov 2007 08:54:42 +0000</pubDate>
<dc:creator>linuxunix</dc:creator>
<guid>http://linuxunix.wordpress.com/2007/11/24/how-to-renew-dhcp-ip-address-in-linux-client/</guid>
<description><![CDATA[how to renew ip address from dhcp server in linux workstation? in windows we will use ipconfig/relea]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>how to renew  ip address from dhcp server in linux workstation? in windows we will use ipconfig/release and ipconfig/renew. But what about our cute linux &#8211; you need to use command at shell  dhclient eth0  where eth0 is interface . Put yours there.<br />
or you can get  using  ifdown and ifup commands. ifdwon  and ifup </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Far configurare correttamente al boot la scheda di rete wireless Broadcom 4306 inclusa nei portatili ASUS L5000D con Debian e Ubuntu]]></title>
<link>http://emanuelecipolla.net/2006/12/11/far-configurare-correttamente-al-boot-la-scheda-di-rete-wireless-broadcom-4306-inclusa-nei-portatili-asus-l5000d-con-debian-e-ubuntu/</link>
<pubDate>Sun, 10 Dec 2006 22:20:40 +0000</pubDate>
<dc:creator>Emanuele Cipolla</dc:creator>
<guid>http://emanuelecipolla.net/2006/12/11/far-configurare-correttamente-al-boot-la-scheda-di-rete-wireless-broadcom-4306-inclusa-nei-portatili-asus-l5000d-con-debian-e-ubuntu/</guid>
<description><![CDATA[Se state usando un portatile ASUS L5000D, sapete bene che il chipset della schede di rete senza fili]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Se state usando un portatile ASUS L5000D, sapete bene che il chipset della schede di rete senza fili 802.11g è l&#8217;odiatissimo Broadcom 4306, di cui non esistono specifiche pubbliche.</p>
<p>Il driver nativo <a HREF="http://bcm43xx.berlios.de/">bcm43xx</a>, sebbene sia stato migliorato moltissimo per poter essere integrato nei kernel serie 2.6.17 (quando era sviluppato a solo non riusciva a riconoscere la nostra scheda, adesso ci riesce), sembra non funzionare benissimo con il WPA (in particolare, con wpa_supplicant: ma se si pensa che lo stramaledetto driver ASUS fornito con il PC nemmeno sa cosa sia&#8230;), mentre non ho testato la funzionalità WEP.</p>
<p>Dovremo quindi, almeno per un po&#8217;, continuare ad usare <a HREF="http://ndiswrapper.sourceforge.net/">ndiswrapper</a> e <a HREF="http://ubuntuforums.org/attachment.php?attachmentid=186">questo</a> driver (attenzione: dovete avere un account su Ubuntu Forums per potervi accedere).</p>
<p>Non vi spiegherò come installare ndiswrapper (<a HREF="http://www.google.it/search?hl=it&#38;client=firefox-a&#38;rls=com.ubuntu%3Ait%3Aofficial&#38;hs=edV&#38;q=ndiswrapper+installare+debian+ubuntu&#38;btnG=Cerca&#38;meta=">chiedete a Google</a> piuttosto), ma vi spiegherò come porre rimedio a un problema lasciatoci in eredità da coloro che hanno assemblato il nostro portatile.</p>
<p>Vi sarete accorti che, <u>anche in Windows</u>, la scheda sembra &#8220;perdere&#8221; i parametri giusti di connessione dopo una serie di riavvii, o, peggio, quando si passa spesso da una rete ad un&#8217;altra. Il baco, signori, risiede nella scheda, e in Windows non ci si può far nulla, se non fare riavvii su riavvii e sperare che quello successivo sia quello buono.</p>
<p>In GNU/Linux (e presumibilmente anche su *BSD), invece, possiamo risolvere il problema molto velocemente. Infatti, noi abbiamo un controllo sul sottosistema NDIS (il protocollo di comunicazione utilizzato dai driver Windows) molto più esteso di quanto non sia quello disponibile a un utente Windows stesso. Signori, in pratica, è sufficiente fare</p>
<pre>/sbin/iwpriv [device] ndis_reset</pre>
<p>e poi riconfigurare la scheda per far funzionare tutto alla perfezione. :-d</p>
<p>Per integrare questi passaggi nella nostra distro Debian/Ubuntu ci serve soltanto:</p>
<ol>
<li>Un <em>/etc/network/interfaces</em>simile a questo (supponendo eth1:
<pre>auto eth1
iface eth1 inet dhcp
wireless-essid "Il mio SSID"
wireless-channel 11
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf
pre-up /sbin/iwpriv eth1 ndis_reset</pre>
</li>
<li>Un <em>/etc/rc.local</em> (o un altro <a HREF="http://emanuele2.wordpress.com/2006/10/23/aggiungere-uno-script-di-esecuzione-locale-ad-un-init-stile-unix-system-v/">script</a> di esecuzione locale) simile a questo:
<pre>/sbin/iwpriv eth1 ndis_reset
/sbin/ifdown eth1
/sbin/ifup eth1</pre>
</li>
</ol>
<p>Sarete piacevolmente sorpresi, credo.</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
