[Prism54-users] interface name wlan0

Kasper Fischer kasper.fischer@ruhr-uni-bochum.de
Fri, 05 Dec 2003 18:36:26 +0100


Hi,

I also think that the name wlan0, wlan1, etc is more reasonable for a 
wireless network device. At least it is not a ethernet device AFAIK.

Kasper

Ronald Bock wrote:

>Hi,
>
>I had the problem, that all our scripts were all coded using wlan0 and not 
>eth0. If you are in the same situation, it might be helpful to apply 
>following diff to islpci_dev.c . This not really tested and might be breaking 
>your installation. ( Not tried with two cards for example ) And it might be 
>the wrong place to incoporate this initialization. 
>So use eth0, if you are not sure and please do not blame me.
>
>Have a nice weekend,
>Ronald 
>
>
>
>*** islpci_dev.c	2003-12-04 15:03:10.000000000 +0100
>--- /home/rb/islpci_dev.c	2003-12-05 17:56:57.000000000 +0100
>*************** islpci_setup(struct pci_dev *pdev)
>*** 617,622 ****
>--- 617,626 ----
>  		return ndev;
>
>  	SET_MODULE_OWNER(ndev);
>+
>+ 	/* setup the devicename */
>+ 	strncpy(ndev->name, "wlan%d", IFNAMSIZ);
>+
>  	pci_set_drvdata(pdev, ndev);
>  #if defined(SET_NETDEV_DEV)
>  	SET_NETDEV_DEV(ndev, &pdev->dev);
>
>
>_______________________________________________
>Prism54-users mailing list
>Prism54-users@prism54.org
>http://prism54.org/mailman/listinfo/prism54-users
>  
>