Re: netcfg: complete documentation available?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I added a section in the wiki just the other day:

https://wiki.archlinux.org/index.php/Netcfg#Configuring_a_bridge_for_use_with_VMs

-Mitch

On , Alper Kanat <tunix@xxxxxxxxxxx> wrote:
Hey There,



In addition to these, I can't find any documentation regarding bridged

connections need for such cases like openvpn and virtual machine needs.



---

Quis custodiet ipsos custodes?





On Tue, Jul 5, 2011 at 17:45, XeCycle xecycle@xxxxxxxxx> wrote:



> Hello, I am now trying netcfg for managing network connections, however

> I encountered some problems, and I didn't find the solution in the

> manual or the ArchWiki. So I wonder whether a complete documentation is

> available.

>

> The two problems I encountered are:

>

> 1. Ad-Hoc wireless lost ESSID.

>

> I used this (working) script to connect:

>

> > #!/bin/bash

> > NET_ESSID="ssid"

> > NET_KEY="passwd"

> > NET_GATEWAY="192.168.0.1"

> > NET_MYIP="192.168.0.3"

> > iwconfig wlan0 mode ad-hoc

> > ifconfig wlan0 up

> > iwconfig wlan0 essid $NET_ESSID key "s:$NET_KEY" channel auto

> > ifconfig wlan0 $NET_MYIP

> > route add default gw $NET_GATEWAY

>

> I tried to do the same with netcfg. Here is the profile:

>

> > CONNECTION='wireless'

> > DESCRIPTION='Wi-Fi at home'

> > PRE_UP="ip link set wlan0 down; iwconfig wlan0 mode ad-hoc"

> > INTERFACE='wlan0'

> > SECURITY='wep'

> > ESSID='ssid'

> > KEY='s:passwd'

> > IP='static'

> > ADDR='192.168.0.2' # Please ignore this difference, I'm sure it's unused

> > GATEWAY='192.168.0.1'

> > DNS=('8.8.8.8')

> > # Uncomment this if your ssid is hidden

> > #HIDDEN=yes

>

> However, I cannot connect it. I've configured my conky to monitor

> network connections, from what it showed, the ESSID is associated first,

> then lost after a few seconds.

>

> 2. PPPOE won't start by itself.

>

> Here's the simple profile:

>

> CONNECTION='ppp'

> INTERFACE='eth0'

> PEER='provider'

> PPP_TIMEOUT=10

>

> When I run `sudo netcfg ppp`, it just got stuck there. Then I opened

> another terminal, and ping some IP, then it got connected.

>

> Thank you. These two problems have been bothering me for a week.

>

> --

> Carl Lei (XeCycle)

> Department of Physics, Shanghai Jiao Tong University

> OpenPGP public key: 7795E591

> Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

>




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux