Please post your ifcfg-wireless file. I need the original one.
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 12 of 12
  1. #1
    JesusDM Guest

    Please post your ifcfg-wireless file. I need the original one.

    Hello, please somebody post the text inside the file
    ifcfg-wireless

    It is located on

    /etc/sysconfig/network-scripts/ifcfg-wireless

    I corrupted mine, and dont know how to fix it. Please post the original one.
    It is like a programming script. Not your wireless settings.
    Thanks

  2. #2
    jim's Avatar
    jim is offline Retired Community Manager & Avid Drinker Of Suds
    Join Date
    Feb 2005
    Location
    Rochester NY
    Age
    45
    Posts
    4,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is mine

    # Please read /usr/share/doc/initscripts-*/sysconfig.txt
    # for the documentation of these parameters.
    IPV6INIT=no
    ONBOOT=no
    USERCTL=yes
    PEERDNS=yes
    GATEWAY=
    TYPE=Wireless
    DEVICE=eth1
    HWADDR=
    BOOTPROTO=dhcp
    NETMASK=
    DHCP_HOSTNAME=
    IPADDR=
    DOMAIN=
    ESSID=HomeWireless
    CHANNEL=11
    MODE=Managed
    RATE=Auto
    Registered Linux User: #376813
    Western NY
    My linux site
    Smolt Profile

    please remember to say if you problem was solved

    Did you get your id10t award today?

  3. #3
    JesusDM Guest
    Thats your network configuration, mine was a programming script... anyways.. maybe thats not my problem.. I will try reinstalling the drivers again.

  4. #4
    JesusDM Guest
    any one? please I need to fix this

  5. #5
    jim's Avatar
    jim is offline Retired Community Manager & Avid Drinker Of Suds
    Join Date
    Feb 2005
    Location
    Rochester NY
    Age
    45
    Posts
    4,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tell you what, here is a list of what I have you let me kow which one you need
    ifcfg-Lan
    ifdown-isdn
    ifup-ipsec
    ifup-routes
    ifcfg-lo
    ifdown-post
    ifup-ipv6
    ifup-sit
    ifcfg-Wireless
    ifdown-ppp
    ifup-ipx
    ifup-sl
    ifdown
    ifdown-sit
    ifup-isdn
    ifup-wireless
    ifdown-aliases
    ifdown-sl
    ifup-plip
    init.ipv6-global
    ifdown-ippp
    ifup
    ifup-plusb
    keys-Wireless
    ifdown-ipsec
    ifup-aliases
    ifup-post
    network-functions <-----thisis the one I think you want
    ifdown-ipv6
    ifup-ippp
    ifup-ppp
    network-functions-ipv6
    Registered Linux User: #376813
    Western NY
    My linux site
    Smolt Profile

    please remember to say if you problem was solved

    Did you get your id10t award today?

  6. #6
    JesusDM Guest
    Well I modified the file

    ifcfg-Wireless

    But I guess mine was different than yours...
    min started with

    #!/bin/bla bla bla...

    like a pearl script...
    It had a text saying

    These are the variables you can define:
    and there were a a lot.. ESSID among them, after that text there was the script...

    if network-functions is like that, please post it...

  7. #7
    jim's Avatar
    jim is offline Retired Community Manager & Avid Drinker Of Suds
    Join Date
    Feb 2005
    Location
    Rochester NY
    Age
    45
    Posts
    4,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is ifup-wireless
    #!/bin/bash
    # Network Interface Configuration System
    # Copyright (c) 1996-2002 Red Hat, Inc. all rights reserved.
    #
    # Based on PCMCIA wireless script by (David Hinds/Jean Tourrilhes)
    #
    # This software may be freely redistributed under the terms of the GNU
    # public license.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program; if not, write to the Free Software
    # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    #
    # Configure wireless network device options. See iwconfig(8) for more info.
    # Valid variables:
    # MODE: Ad-Hoc, Managed, etc.
    # ESSID: Name of the wireless network
    # NWID: Name of this machine on the network. Hostname is default
    # FREQ: Frequency to operate on. See CHANNEL
    # CHANNEL: Numbered frequency to operate on. See FREQ
    # SENS: Sensitivity threshold for packet rejection.
    # RATE: Transfer rate. Usually one of Auto, 11, 5, 2, or 1.
    # KEY: Encryption key for WEP.
    # RTS: Explicit RTS handshake. Usually not specified (auto)
    # FRAG: Fragmentation threshold to split packets. Usually not specified.
    # SPYIPS: List of IP addresses to "spy" on for link performance stats.
    # IWCONFIG: Extra parameters to pass directly to IWCONFIG
    # IWPRIV: Extra parameters to pass directly to IWPRIV

    # Only meant to be called from ifup.

    # Mode need to be first : some settings apply only in a specific mode !
    if [ -n "$MODE" ] ; then
    iwconfig $DEVICE mode $MODE
    fi
    # This is a bit hackish, but should do the job right...
    if [ -n "$ESSID" -o -n "$MODE" ] ; then
    NICKNAME=`/bin/hostname`
    iwconfig $DEVICE nick "$NICKNAME" >/dev/null 2>&1
    fi
    # Regular stuff...
    if [ -n "$NWID" ] ; then
    iwconfig $DEVICE nwid $NWID
    fi
    if [ -n "$FREQ" -a "$MODE" != "Managed" ] ; then
    iwconfig $DEVICE freq $FREQ
    elif [ -n "$CHANNEL" -a "$MODE" != "Managed" ] ; then
    iwconfig $DEVICE channel $CHANNEL
    fi
    if [ -n "$SENS" ] ; then
    iwconfig $DEVICE sens $SENS
    fi
    if [ -n "$RATE" ] ; then
    iwconfig $DEVICE rate $RATE
    fi
    if [ -n "$KEY" -o -n "$KEY1" -o -n "$KEY2" -o -n "$KEY3" -o -n "$KEY4" ] ; then
    [ -n "$KEY1" ] && iwconfig $DEVICE key [1] $KEY1
    [ -n "$KEY2" ] && iwconfig $DEVICE key [2] $KEY2
    [ -n "$KEY3" ] && iwconfig $DEVICE key [3] $KEY3
    [ -n "$KEY4" ] && iwconfig $DEVICE key [4] $KEY4
    [ -n "$DEFAULTKEY" ] && iwconfig $DEVICE key [${DEFAULTKEY}]
    [ -n "$KEY" ] && iwconfig $DEVICE key $KEY
    else
    iwconfig $DEVICE key off
    fi
    if [ -n "$RTS" ] ; then
    iwconfig $DEVICE rts $RTS
    fi
    if [ -n "$FRAG" ] ; then
    iwconfig $DEVICE frag $FRAG
    fi

    # More specific parameters passed directly to IWCONFIG
    if [ -n "$IWCONFIG" ] ; then
    iwconfig $DEVICE $IWCONFIG
    fi

    if [ -n "$SPYIPS" ] ; then
    for IP in $SPYIPS; do
    iwspy $DEVICE + $IP
    done
    fi
    if [ -n "$IWPRIV" ] ; then
    iwpriv $DEVICE $IWPRIV
    fi

    # ESSID need to be last : most device re-perform the scanning/discovery
    # when this is set, and things like encryption keys are better be
    # defined if we want to discover the right set of APs/nodes.
    if [ -n "$ESSID" ] ; then
    iwconfig $DEVICE essid "$ESSID"
    else
    # use any essid
    iwconfig $DEVICE essid any
    fi
    after looking at network-functions this looks like a bertter match
    Registered Linux User: #376813
    Western NY
    My linux site
    Smolt Profile

    please remember to say if you problem was solved

    Did you get your id10t award today?

  8. #8
    JesusDM Guest
    Oh noo, sorry.. Im so stupid.. that was the file ... I was confused with the name... sorry.
    Im in linux right now.. it suddenly worked..
    But Im sure that next time I restart.. it wont be on, by default...
    lets see

  9. #9
    JesusDM Guest
    here is my ifcfg-atml0 file

    DEVICE=atml0
    IPADDR=192.168.1.238
    ESSID=Home
    ONBOOT=no
    DOMAIN=
    DHCP_HOSTNAME=
    HWADDR=00:04:e2:39:e4:e6
    USERCTL=no
    GATEWAY=192.168.1.1
    TYPE=Wireless
    IPV6INIT=no
    CHANNEL=1
    MODE=Managed
    RATE=Auto
    NETMASK=255.255.255.0
    BOOTPROTO=dhcp
    PEERDNS=yes

    And with each reboot, the essid is blank, and I have to do it manually... then deactivate and activate network device...

  10. #10
    JesusDM Guest
    maybe a fix could be make a little script that do

    iwconfig atml0 essid Home
    ifdown atml0
    ifup atml0

    and running that when booting.. is that possible??

  11. #11
    jim's Avatar
    jim is offline Retired Community Manager & Avid Drinker Of Suds
    Join Date
    Feb 2005
    Location
    Rochester NY
    Age
    45
    Posts
    4,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    or NetworkManager
    turn off all devices and disable start up at boot
    issue NetworkManagerInfo as yourself not root
    http://fedoranews.org/contributors/j...twork_manager/
    Registered Linux User: #376813
    Western NY
    My linux site
    Smolt Profile

    please remember to say if you problem was solved

    Did you get your id10t award today?

  12. #12
    JesusDM Guest
    Oh maybe thats the problem, I always log on like root, Im the only user of this computer, so I didnt even create another user.

Similar Threads

  1. Replacing the original sound from an mpeg file
    By mpolo in forum Using Fedora
    Replies: 4
    Last Post: 13th September 2009, 10:29 AM
  2. can someone post his smb.conf file?
    By ariskk in forum Servers & Networking
    Replies: 11
    Last Post: 6th November 2007, 08:29 AM
  3. man ifcfg
    By phe in forum Using Fedora
    Replies: 4
    Last Post: 4th November 2007, 10:14 PM
  4. can someone post their /etc/auto.net file?
    By icthy in forum Servers & Networking
    Replies: 11
    Last Post: 10th August 2005, 08:30 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •