LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-23-2005, 07:59 PM   #1
switchflux
LQ Newbie
 
Registered: Oct 2005
Location: Tromsų, Norway
Posts: 3

Rep: Reputation: 0
parse error in config for xsupplicant


Hi

I've spent the last hours trying to get xsupplicant to work on my computer. I am trying to access my university account to the internet.

Finally I think I've gotten things quite close to work, but I get this message when I try to run xsupplicant:

sentinel@sentinel:~$ sudo xsupplicant -i eth0 -c /home/sentinel/xsupplicantmini.conf -f
Error in (null), at line 8:
syntax error:

startup_command = <BEGIN_COMMAND>ifconfig eth0 allmulti 0.0.0.0
^ (the marker is supposed to be under the = sign, but the formatting gets screwed up here)
up<END_COMMAND>

General Parse error!
There was a problem with the config file. We cannot continue.
sentinel@sentinel:~$

Here is my .conf file. Its a miniversion of the original one, just with the options needed to access our network:

### GLOBAL SECTION

network_list = all
default_netname = default

startup_command = <BEGIN_COMMAND>ifconfig eth0 allmulti 0.0.0.0 up<END_COMMAND>
first_auth_command = <BEGIN_COMMAND>dhcpcd -n<END_COMMAND>
reauth_command = <BEGIN_COMMAND>dhcpcd -n<END_COMMAND>

logfile = /var/log/xsupplicant.log

deny_interfaces = lo

### NETWORK SECTION

default
{

type = wired
allow_types = all
identity = <BEGIN_ID>(my mail)<END_ID>

eap-peap {
root_cert = /etc/1x/cert/demoCA/cacert.pem
root_dir = /etc/1x/cert/demoCA
chunk_size = 1398
random_file = /etc/1x/cert/random
session_resume = yes
allow_types = all # where all = MSCHAPv2, MD5, OTP, GTC, SIM

eap-mschapv2 {
username = <BEGIN_UNAME>(my username)<END_UNAME>
password = <BEGIN_PASS> (my passwd)<END_PASS>
}
}
}


I don't understand why it stops there... Anyone who know why? I am using ubuntu linux, and I've just recovered it from a minor (self induced) loss of libraries, so it mitght be something wrong with some external library used to interpret scripts or something... I'm quite fresh to linux, so I have some trouble understanding whats going on here.

/fluX

Last edited by switchflux; 10-23-2005 at 08:00 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP parse error in config.inc.php.in Confusedious Linux - Software 2 11-03-2005 05:08 AM
in gcc compiler error: parse error before string constsnt cynthia_thomas Linux - Networking 1 10-20-2005 01:29 AM
Parse Error verbatim Programming 3 04-22-2005 09:16 AM
eap_peap with xsupplicant : error... cosmoken Linux - Wireless Networking 0 01-11-2005 09:39 AM
Xsupplicant PEAP Type Handler error y0shi Linux - Wireless Networking 0 11-18-2004 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration